View Full Version : Mingw very slow on windows
elsheikhmh
29th May 2007, 11:57
Hi,
I use Qt 4.2.3 open source edition, Mingw 3.4.2 (mingw as installed by Qt bundle qt-win-opensource-4.2.3-mingw.exe), on Windows 2000 SP4.
mingw is very slow in compilation. A process called cc1plus.exe is eating up to 100 MB during compilation.
What's wrong with my installation?
Thanks in advance,
Mustafa
marcel
29th May 2007, 12:36
But that is the compiler process itself.
Not much you can do about that, I'm afraid.
Regards
elsheikhmh
29th May 2007, 12:47
hi,
I mean it's very very slow. Is mingw known to be very slow? I use mingw with GLUT and it's not that bad as with Qt.
I read about speeding up compilation by static linking with Qt. but I've not idea how to do that.
marcel
29th May 2007, 12:54
Static linking with Qt means that a significant part of Qt will be included in your app.
The size will also increase significantly.
You should think about it before doing it.
Regards
elsheikhmh
29th May 2007, 13:01
at least i can do it during the development phase.
how can i do it?
marcel
29th May 2007, 13:07
See this:
http://lists.trolltech.com/qt-interest/2006-09/thread00099-0.html
Brandybuck
29th May 2007, 19:58
The GNU compiler (which is mingw) is notoriously slow. Turning on precompiled headers will help, but the compilation itself is significantly slower than the MS or Intel compilers. Make also slows some stuff down. Using the -j2 or -j4 option to GNU make can be a significant improvement.
But if all else fails, just go start a pot of coffee when you launch a build.
elsheikhmh
30th May 2007, 18:19
I'll try solutions on trolls list, and -j2/4 options.
Thanks
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.