Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: MortenMacFly on September 08, 2009, 11:28:59 am
-
Hi all,
today I decided: This must be the day. So...
- I deleted the old GCC3.4.5 compiler I had
- I installed TDM's GCC 4.4.1 with all packages required (SJLJ)
- I compiled wxWidgets 2.8.10 from scratch with this compiler
- I compiled C::B from scratch with this compiler.
Trust me - I really did a full removal of artefacts.
Well C::B launches, but damn slow! It takes ~ 5mins now to come up and remains very slow during runtime.
Anything I am missing? Did anyone already tried to compile wx and C::B under Windows? Does it run fast?
With regards, MortenMacFly
-
SHAME ON ME!
I should have SEARCH THE FORUMS!
Ok - I'll try everything again with TDM's 4.4.0 (if I find the release somewhere...).
What a bad luck that I decided just in this very moment to switch. :-(
-
TDM's gcc 4.4.1 has a bug:
http://forums.codeblocks.org/index.php/topic,11055.msg75531.html#msg75531 (http://forums.codeblocks.org/index.php/topic,11055.msg75531.html#msg75531)
-
Morten, can I ask you to send me a wxwidgets compiled with one of the recent TDM compilres?
So, I can build cb from cb and test my patch on win32...
I have massive problems with mingw32-make :x :shock: :? :( :| :twisted: :evil: :cry:
-
Morten, can I ask you to send me a wxwidgets compiled with one of the recent TDM compilres?
I would love to, but are you aware that the compiled wxWidgets is ~650 MB? I don't have that much web space... :-(
-
I have massive problems with mingw32-make :x :shock: :? :( :| :twisted: :evil: :cry:
however, I can tell you the following:
I am using now:
binutils-2.19.1-mingw32-bin.tar.gz
gdb-6.8-mingw-3.tar.bz2
gcc-4.4.0-tdm-1-core-2.zip
gcc-4.4.0-tdm-1-fortran-2.zip
gcc-4.4.0-tdm-1-g++-2.zip
mingw-utils-0.3.tar.gz
mingw32-make-3.81-20080326-3.tar.gz
mingwrt-3.16-mingw32-dev.tar.gz
mingwrt-3.16-mingw32-dll.tar.gz
w32api-3.13-mingw32-dev.tar.gz
...and the build script(s) attached.
These are make files where you basically only need to do the following:
0.) unextract the ZIP archive ;-)
1.) setup the path's in make_setup.bat
2.) copy *all* these scripts in your wxWidgtes source folder (the one where INSTALL-MSW.txt is in...)
3.) run make_wx_all.bat
[attachment deleted by admin]
-
Uouuuuuuuuu, it started compiling :)
Where should I look for the results?
And is it safe to add -j5 to make, in order to speed the compilation
-
Morten, can I ask you to send me a wxwidgets compiled with one of the recent TDM compilres?
So, I can build cb from cb and test my patch on win32...
I have massive problems with mingw32-make :x :shock: :? :( :| :twisted: :evil: :cry:
If you are referring to the (roughly) 9.5mb wxmsw28u_gcc_custom.dll (and nothing else) you can get it out of my dropbox folder via:
http://dl.getdropbox.com/u/1656427/extras/wxmsw28u_gcc_custom.dll
If you mean anything else then I dont have the bandwidth available to upload the entire thing. Please respond back once you finish downloading or if this isnt the file you mean. On my system it was compiled with TDM 4.4.0
edit:
or if ya got it compiling already that works too. I'll go ahead and leave the dropbox link active for 24 hours just incase you want to try it.
-
Where should I look for the results?
there are several *.log files being created. Concerning the optimisation params: Dunno. I never use them. Compilation takes ~ 3 hours on my PC, but you'll get everything you need for unicode/ansi and release/debug build.
The libs are in the folder "lib" and sub-folders, concerning the configuration - e.g. folder gcc_dll for dyamic library, lib libwxmsw28ud.a for unicode, debug release.
-
Thank you all, :lol: :lol: :lol: :lol: :lol:
The compilation works (there are some errors in the log, but it works and I don't care much).
I've run only make_wx_shared.bat and the compilation of C::B finished correctly :)
I've modified it to put -j5 put the compilation failed misserably :(
Seronis: thanks for the upload ...
-
I've modified it to put -j5 put the compilation failed misserably :(
-j5 in plain MinGW's Make? Did it fail because it did not recognize the option, or has it been added to it and still failed? As far as I know it only works on MSYS (and in *nix of course).
-
The option worked, but the build fail (I think) .. might have not been optimized for parallel make...