I haven't found a forum dedicated to building Qt using the MSYS shell 
sh.exe, so I'll ask the question here. My question is about building in 
parallel.

I have spent some time experimenting with building Qt for MinGW under 
MSYS. The motivation for this exercise was GCC 4 and being able to build 
in parallel.  With the recent qt-everywhere-opensource-src-4.6.0-tp1, 
this got a lot easier, which was a pleasant surprise.

I have done it using TDM's MinGW/GCC package (tdm-mingw-1.905.0-4.4.0-2) 
as well as the MinGW/GCC packaged with the Qt Creator technology preview 
qt-creator-win-opensource-1.2.90 (another pleasant surprise).

I run "configure.exe" and then "mingw32-make.exe", both under MSYS.

When I use the "-j" option  as in " mingw32-make.exe -j 4",  still only 
one file seems to be compiled at a time.  The Windows task manager only 
shows one instance of cc1plus.exe at a time.

When I have built Qt *applications*, the "-j" option seems to have the 
desired effect, so I am wondering if there is something specific about 
the Qt project itself that prevents parallel compiling.

Is it relevant that MinGW's mingw32-make.exe is invoked instead of MSY's 
make.exe?  It seems that building Qt itself requires mingw32-make.exe.

If anybody would like to share some wise words or experience, I would be 
grateful.  Also, if you know a good up-to-date source of information 
about this general topic, please let me know.
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to