[PyQt] More recent g++ slows build time immensely
Jim Crowell
jaclists at mailbolt.com
Mon Oct 20 16:48:00 BST 2008
Hi all,
I've been using SIP to generate bindings for Syzygy
<http://www.isl.uiuc.edu/syzygy.htm>. Since we've been using GNU Make
for everything, I've been running SIP with "-j 1" to generate a single
.cpp file, which up til now has worked fine (with MinGW g++ 3.4.2 on
Windows and whatever g++ comes with Ubuntu 7.10).
However, I'm trying to upgrade to Ubuntu 8.04, which includes g++ 4.2.3.
Building the bindings on my Windows machine takes about 35 seconds. On a
fairly similar ubuntu machine, I gave up after about _half an hour_. On
a blazing-fast, high-end, chock-full-o-RAM graphics machine it completed
after 15 minutes or so, I wasn't timing.
Has anyone else run into this problem?
Anyway, I'm looking into using sipconfig so I'll end up with lots of
little files instead of one big one. I'm scanning through the pyqt
sources to see how one uses it in a more complex case than the minimal
one in the docs. Can anyone point me toward a simpler example of how to
do things like add include paths, libraries, flags, and so on to the
compile and link options?
Thanks,
-Jim C.
More information about the PyQt
mailing list