On 10/9/07, Helmut Jarausch <jarausch@igpm.rwth-aachen.de> wrote:
> Thanks,
> but what value of CHOST should I take?
> I currently have
> CHOST="i686-pc-linux-gnu"
> and gcc-4.1.2 is the standard C-compiler.
> Now, I'd like to switch to gcc-4.2.1.
There is an official guide to upgrading gcc
http://www.gentoo.org/doc/e
n/gcc-upgrading.xml
Since you are already at version 4 it looks like you'll need to do the following:
# emerge -uav gccThe authors of the guide also recommend
(Please substitute "i686-pc-linux-gnu-4.1.1" with the GCC
version and CHOST settings you've upgraded to:)
# gcc-config i686-pc-linux-gnu-4.1.1
# env-update && source /etc/profile
(Rebuilding libtool)
# emerge --oneshot -av libtool
# emerge -eav systemIt must be the env-update && source /etc/profile that keeps your new settings
# emerge -eav world