Subject: Re: [ecasound] Compile Problem
From: Kai Vehmanen (k@eca.cx)
Date: Wed Sep 19 2001 - 20:45:11 EEST
On Wed, 19 Sep 2001, Phil Moors wrote:
>> This compiler that comes with RH7.x, 2.96, just _sucks_! Fortunately RH7.x
>> comes with two compilers. You should try to use the older one:
>> CXX=kgcc ./configure
> The split personality compiler issue was only for RH7.0. For RH7.1 there
> is only one gcc compiler (shown above).
Doh, you're right. This is a bit suprising to say the least. So people
actually compile kernels with RH7.1's gcc2.96. :o Oh well, I guess Alan
Cox et al know what they are doing. ;)
> Any tips for installing and living with multiple versions of egcs on one
> machine? I'm not sure I want to do this.
Ok, few possible approaches:
1. install kgcc from rh7.0
- ftp://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/redhat/redhat-7.0-en/os/i386/RedHat/RPMS/kgcc-1.1.2-40.i386.rpm
2. lower optimization level
- replace -O2 with -O or remove altogether on
ecasound/configure.in line 77; then
"autoconf ; ./configure ; make ; make install"
3. install a newer compiler
- get for instance gcc 2.95.3
- "./configure --prefix=/usr/local/gcc-2.95.3"
- "make ; make install" (doesn't interfere with
your default 2.96 compiler)
- configure ecasound with:
"CXX=/usr/local/gcc-2.95.2/bin/c++ ./configure", then
"make ; make install"
I'd suggest to use order 1->2->3...
-- http://www.eca.cx Audio software for Linux!-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request@wakkanet.fi>.
This archive was generated by hypermail 2b28 : Wed Sep 19 2001 - 20:42:40 EEST