[PyQt] -c configure option

Mitchell L Model MLMDev at Comcast.net
Mon Feb 15 19:17:51 GMT 2010


The PyQt configuration documentation (http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html#configuring-pyqt 
) includes the following option:

"-c, --concatenate

The C++ source files for a Python module will be concatenated. This  
results in significantly reduced compilation times. Most, but not all,  
C++ compilers can handle the large files that result. It is  
recommended that you use this option if you are using GCC v3.x or MSVC  
v7.x. See also the --concatenate-split option.
"

On a quad-core Mac running OS 10.6 (Snow Leopard) I tried the  
compilation both with and without -c, using the system gcc (4.0.1).  
The -c compilation was 10 times SLOWER than the regular compilation!  
Perhaps the documentation could clarify when the option is a good idea  
and when not.


More information about the PyQt mailing list