[PyQt] Re: More recent g++ slows build time immensely

Adeodato Simó dato at net.com.org.es
Fri Oct 31 11:57:54 GMT 2008


* Giovanni Bajo [Mon, 27 Oct 2008 19:28:24 +0100]:

> 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

That breaks your system. And it will be overwritten if an update to gcc
comes.

> After that, you can switch GCC version with:

>     $ sudo update-alternatives --config gcc


-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
The surest way to corrupt a youth is to instruct him to hold in higher
esteem those who think alike than those who think differently.
                -- F. Nietzsche



More information about the PyQt mailing list