gcc-3.4.1 under FC2 ?

netmask netmask at enZotech.net
Fri Aug 13 22:19:22 UTC 2004


lftpget ftp.gnu.org:/gnu/gcc/gcc-3.4.1/gcc-core-3.4.1.tar.gz

tar xvfz gcc-core-3.4.1.tar.gz

cd gcc-core-3.4.1

./configure --prefix=/usr/local/gcc-3.4.1

make

make install

then

export CC=/usr/local/gcc-3.5.1/bin/gcc

might need to mess with CPPFLAGS or CXXFLAGS env variables too.


-- 
netmask

> Horvath Andras (andras.horvath at fizika.sze.hu) composed today:

> Hi,
>
> I am working on developing scientific flow simulation codes in C (number
> crunching). I would like to try whether gcc-3.4.1 generates
> significantly better code than gcc-3.3.3 in FC2. (In release notes of
> gcc-3.4.1 a lot of improvement in optimization is issued.)
>
> How can I install gcc-3.4.1 on FC2 so that original gcc remain
> untouched? (As I know, replacing gcc with a newer version can arise
> problems. Or is it false?) I want to use gcc-3.4.1 for compiling my own
> C codes only.
>
>
> Thank you in advance,
>
>
> András
>
>
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>


More information about the fedora-list mailing list