Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Don't understand why C::B used a monolithic build
mosfet:
Hi,
I REALLY do not understand why you are using wxWidgets monolithic build.
I am not an linux expert but I think that every distribution provide a non monolithic version and
it forces people like me to recompile a special version of wxWIdgets just to compile C:B.
If someone could correct me because I am sure there is a reason for that( excpet that it's easier).
mandrav:
How did you come to the conclusion that C::B requires a monolithic wx lib? :shock:
mosfet:
--- Quote from: mandrav on January 10, 2006, 06:05:31 pm ---How did you come to the conclusion that C::B requires a monolithic wx lib? :shock:
--- End quote ---
Here : http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29
And Here from CodeBlocks makefile:
--- Code: ---<Linker>
<Add library="wxmsw26"/>
<Add directory="sdk\tinyxml"/>
<Add directory="$(WX_DIR)\lib\gcc_dll\msw"/>
<Add directory="$(WX_DIR)\lib\gcc_dll$(WX_CFG)"/>
</Linker>
--- End code ---
It's everywhere CodeBlocks is always linking with wxmsw26 (ie monolithic version).
A non monolithic version would be :
--- Code: ---<Linker>
<Add library="wxbase26"/>
<Add library="wxmsw_adv"/>
<Add library="wxmsw_core"/>
...
</Linker>
--- End code ---
thomas:
That's right. It's that way because it is the least painful way.
If you absolutely don't want monolithic, you can of course compile it differently, too. All you need to do is modify a few link libraries and a compiler flag.
Probably (I haven't tried that, but why shouldn't it work...) you can make a static build, too, if you like.
mosfet:
Hum,
the problem is not it's possible or not (with some time everything is possible). The problem is appreciate C::B a lot and it would be very great if I could easily used it on windows AND Linux. I would like also to participate or to submit patches but if it uses a specific configuration it's not that easy because I need to play with different wxWidgets configurations.
For instance I am following the wiki to build it under linux and I still have issues.
But Actually I found the main problem is I am not patient, so I will do as everyone and I will use a monolithic version.
--- Quote from: thomas on January 10, 2006, 06:38:34 pm ---That's right. It's that way because it is the least painful way.
If you absolutely don't want monolithic, you can of course compile it differently, too. All you need to do is modify a few link libraries and a compiler flag.
Probably (I haven't tried that, but why shouldn't it work...) you can make a static build, too, if you like.
--- End quote ---
Navigation
[0] Message Index
[#] Next page
Go to full version