[PyQt] Re: More recent g++ slows build time immensely
Giovanni Bajo
rasky at develer.com
Mon Oct 27 18:28:24 GMT 2008
On 10/27/2008 4:52 PM, Jim Crowell wrote:
> Downgrading gcc and g++ from 4.2 to 4.1 decreased build time from about
> 15 minutes to 13.6 seconds.
BTW, you can use the following commands to configure update-alternatives
to handle GCC:
$ sudo update-alternatives --install /usr/bin/gcc gcc
/usr/bin/gcc-4.1 33 --slave /usr/bin/g++ g++ /usr/bin/g++-4.1 --slave
/usr/bin/gcov gcov /usr/bin/gcov-4.1
$ sudo update-alternatives --install /usr/bin/gcc gcc
/usr/bin/gcc-4.2 42 --slave /usr/bin/g++ g++ /usr/bin/g++-4.2 --slave
/usr/bin/gcov gcov /usr/bin/gcov-4.2
After that, you can switch GCC version with:
$ sudo update-alternatives --config gcc
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
More information about the PyQt
mailing list