Jason Marsh wrote:
> I recently tried compiling the NVIDIA drivers and aureal (diamond
> monster sound, mx300) drivers on my cooker system. These failed to
> install, as they returned a page of undefined symbols. I attribute this
> problem to gcc3, as i recompiled the drivers with gcc 2.96, and all was
> well.
> Im not 100% sure, but i think that gcc3 screwed up my compile of kde3
> (from cvs)
> Anyways. as gcc3 is part of cooker now (alongside gcc2.96), if anyone
> else has had problems compiling software, I would advise you to run
> 'export CC=gcc-2.96' beforehand. (gcc-2.96 would be the name of the
> actual executable.. check your path if its something different)
>
gcc-2/3 are using alternatives with default being gcc-2.96. So unless
you have taken special steps to screw up your installation you never
ever use gcc-3 by default.
{pts/1}% update-alternatives --display gcc
gcc - status is auto.
link currently points to /usr/bin/colorgcc
/usr/bin/gcc-2.96 - priority 10
/usr/bin/colorgcc - priority 20
/usr/bin/gcc-3.0.2 - priority 5
Current `best' version is /usr/bin/colorgcc.
{pts/1}% urpmf bin/colorgcc
gcc-colorgcc:/usr/bin/colorgcc
gcc3.0-colorgcc:/usr/bin/colorgcc-3.0.2
-andrej