From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ML5WV-0007zS-UO for garchives@archives.gentoo.org; Mon, 29 Jun 2009 01:19:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D716E06AE; Mon, 29 Jun 2009 01:19:06 +0000 (UTC) Received: from mail.askja.de (mail.askja.de [83.137.103.136]) by pigeon.gentoo.org (Postfix) with ESMTP id D7F34E06AE for ; Mon, 29 Jun 2009 01:19:05 +0000 (UTC) Received: from static-87-79-89-40.netcologne.de ([87.79.89.40] helo=zone.wonkology.org) by mail.askja.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1ML5WT-0006Mn-1S for gentoo-user@lists.gentoo.org; Mon, 29 Jun 2009 03:19:05 +0200 Received: from localhost (localhost [127.0.0.1]) (uid 1000) by zone.wonkology.org with local; Mon, 29 Jun 2009 03:18:58 +0200 id 00010326.4A481682.00000C27 From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: coexisting GCC versions Date: Mon, 29 Jun 2009 03:18:54 +0200 User-Agent: KMail/1.11.4 (Linux/2.6.28-tuxonice-r3_2; KDE/4.2.4; i686; ; ) References: In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906290318.55482.wonko@wonkology.org> X-Archives-Salt: 363773cb-d499-4adb-b167-193c18c19141 X-Archives-Hash: 98881dd92a529fbc193a8e650532376e Roger Mason writes: > Now gcc-config says: > > garnet ~ $ gcc-config -l > [1] i686-pc-linux-gnu-4.1.1 > [2] i686-pc-linux-gnu-4.3.2 * > > Whereas gcc -v says: > > > gcc version 4.1.1 (Gentoo 4.1.1-r3 p1.10) > > If there is something else that I need to do then I did not see it in > the upgrade guide, so please, will someone enlighten me? No, your steps worked fine for me. What is your $PATH? (echo $PATH) I have /usr/i486-pc-linux-gnu/gcc-bin/4.1.2 in there (just before /usr/i686- pc-linux-gnu/gcc-bin/4.3.2), don't know where this comes from. The directory usr/i486-pc-linux-gnu/gcc-bin does not exist, so it does not matter. Also have a look in /etc/env.d/*gcc*, do these settings look okay? That's where gcc-config changes things. My 05gcc-i686-pc-linux-gnu has the line PATH="/usr/i686-pc-linux-gnu/gcc-bin/4.3.2" in it. Wonko