Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Building U++ for MinGW32
Re: Building U++ for MinGW32 [message #43376 is a reply to message #43369] Mon, 14 July 2014 13:18 Go to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
pcfreak wrote on Sun, 13 July 2014 12:54
Thank you for the detailed explaination.
I am familier with this constructor magic and I now that there are some addions needed to force their linkage.
Yes it is doable, but I guess that would be a bit more affort than what I thought it would be.
I thought there was a way to easily pack everything together into a library file (.a for gcc, .lib for vc) and link that to the final executable.
My toolchain simple consists of Makefiles calling GCC's compiler and linker. Nothing more.


Well, OTOH, perhaps the issue can be taken from the different angle.... Once you decide how to "split" uppsrc into libraries, it would be relatively easy to produce single "InitXXX" per library.

Splitting into libraries is quite interesting task, though.

Perhaps:

"Core" (including all non-GUI plugins and everything that can run in console mode, including Draw)
"GUI" (including everything that requires GUI, CtrlCore, CtrlLib, RichText, Report....)
"SQLCommon"
then there should be single interface library per DB engine (PHSQL, MYSQL...)

I guess, for the first iteration, that would be enough. Specialities like Skylark or Turtle are not needed now...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: One vs std::experimental::optional
Next Topic: [NEW FEATURE] IDE now supports raw diff/patch files highlight
Goto Forum:
  


Current Time: Wed Jun 25 11:49:39 CEST 2025

Total time taken to generate the page: 0.03347 seconds