Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Priit on August 20, 2005, 11:27:49 am

Title: About wxwidgets and different compilers
Post by: Priit on August 20, 2005, 11:27:49 am
I am not a programmer, but time-to-time i like to do some code. I am using three compilers: mingw, digitalmars and ms toolkit 2003.
My question is:
If i compile wxwidgets with dm for example, will all those *.lib work with mingw or ms toolkit too?

Actually i've got a second question too. When i compile wxwidgets with dm, why it build it in debug mode(extra d in file names).
Command i used:
Code
make -f makefile.dmc BUILD=release SHARED=1 MONOLITHIC=1 USE_XRC=1 UNICODE=1 VENDOR=cb
Title: Re: About wxwidgets and different compilers
Post by: tiwag on August 20, 2005, 11:36:01 am
I am not a programmer, but time-to-time i like to do some code. I am using three compilers: mingw, digitalmars and ms toolkit 2003.
My question is:
If i compile wxwidgets with dm for example, will all those *.lib work with mingw or ms toolkit too?
unfortunately no - you have to build wxWidgets for each compiler separately

Quote
Actually i've got a second question too. When i compile wxwidgets with dm, why it build it in debug mode(extra d in file names).
Command i used:
Code
make -f makefile.dmc BUILD=release SHARED=1 MONOLITHIC=1 USE_XRC=1 UNICODE=1 VENDOR=cb
you need the cd-version of DM which includes smake with which you can build wxWidgets in different flavours.
the make util supplied in the free version of DM is somewhat limited and doesn't support all options.
you only can build a static debug build of wxWidgtes with make if you are not editing your own modified make-files...
Title: Re: About wxwidgets and different compilers
Post by: Priit on August 20, 2005, 12:05:14 pm
Thanks for your answer.

Coming back to building wxwidgets. Which compiler is the best to develop wx programs under windows xp (compiling/linking time, filesize etc).
I know mingw is the slowest and produces biggest executable size. I've used mingw with dev-cpp, but is there any difference compared to mingw vs toolkit 2003 or mingw vs dm.
Title: Re: About wxwidgets and different compilers
Post by: tiwag on August 20, 2005, 12:22:04 pm
for my own projects i use DM (i've bought the CD) because it's really fast and has a good debugger

MinGW gcc has it's drawbacks as you said, but also has its advantages - i like using it too.