Search code examples
qtblackberryqt4mingwblackberry-playbook

Left -j off mingw32-make command for Qt4?


I accidentally left off the -j [jobs] when compiling the Qt4 git://gitorious.org/qt/qt.git repository from mingw32-make as per the Building Qt4 documentation. Will this make any other difference beside the amount of time it takes to compile?

My understanding of the command.

  • My understanding of the command is that it controls the amount of jobs being performed but if nothing is set after -j in [jobs] then it may be pointless to have.
  • I could be wrong because I still don’t have a complete understanding of the configure.exe command syntax (eg. configure.exe -opensource -confirm-license -release -xplatform unsupported/blackberry-armv7le-qcc -arch arm -nomake examples nomake demos -no-neon -opengl es2 -prefix c:\dev\qt4install).

Solution

  • -j with no argument lets make decide. From your link, from the section for ‘-j [jobs]’:

    With no argument, make runs as many recipes simultaneously as possible.

    If the makefile is correctly written there should be no difference between running it with or without -j, though (as you note) running one job at a time could be slower.