Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: coexisting GCC versions
Date: Mon, 29 Jun 2009 01:19:08
Message-Id: 200906290318.55482.wonko@wonkology.org
In Reply to: Re: [gentoo-user] Re: coexisting GCC versions by Roger Mason
1 Roger Mason writes:
2
3 > Now gcc-config says:
4 >
5 > garnet ~ $ gcc-config -l
6 > [1] i686-pc-linux-gnu-4.1.1
7 > [2] i686-pc-linux-gnu-4.3.2 *
8 >
9 > Whereas gcc -v says:
10 >
11 > <snip>
12 > gcc version 4.1.1 (Gentoo 4.1.1-r3 p1.10)
13 >
14 > If there is something else that I need to do then I did not see it in
15 > the upgrade guide, so please, will someone enlighten me?
16
17 No, your steps worked fine for me.
18
19 What is your $PATH? (echo $PATH)
20
21 I have /usr/i486-pc-linux-gnu/gcc-bin/4.1.2 in there (just before /usr/i686-
22 pc-linux-gnu/gcc-bin/4.3.2), don't know where this comes from. The directory
23 usr/i486-pc-linux-gnu/gcc-bin does not exist, so it does not matter.
24
25 Also have a look in /etc/env.d/*gcc*, do these settings look okay? That's
26 where gcc-config changes things. My 05gcc-i686-pc-linux-gnu has the line
27 PATH="/usr/i686-pc-linux-gnu/gcc-bin/4.3.2" in it.
28
29 Wonko

Replies

Subject Author
Re: [gentoo-user] Re: coexisting GCC versions Roger Mason <rmason@×××.ca>