From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-70480-garchives=archives.gentoo.org@gentoo.org>) id 1Iewvg-0007Ij-N4 for garchives@archives.gentoo.org; Mon, 08 Oct 2007 18:02:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l98HpCtN010940; Mon, 8 Oct 2007 17:51:12 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l98Hk0Rd003483 for <gentoo-user@lists.gentoo.org>; Mon, 8 Oct 2007 17:46:01 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 9C61265547 for <gentoo-user@lists.gentoo.org>; Mon, 8 Oct 2007 17:46:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -1.36 X-Spam-Level: X-Spam-Status: No, score=-1.36 required=5.5 tests=[AWL=1.239, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1m+-V7z-GmVz for <gentoo-user@lists.gentoo.org>; Mon, 8 Oct 2007 17:45:53 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id DFC5E65325 for <gentoo-user@gentoo.org>; Mon, 8 Oct 2007 17:45:51 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IewXb-0001hO-Uj for gentoo-user@gentoo.org; Mon, 08 Oct 2007 17:37:15 +0000 Received: from dslb-088-070-118-074.pools.arcor-ip.net ([88.70.118.74]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <gentoo-user@gentoo.org>; Mon, 08 Oct 2007 17:37:15 +0000 Received: from marc.blumentritt by dslb-088-070-118-074.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <gentoo-user@gentoo.org>; Mon, 08 Oct 2007 17:37:15 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Marc Blumentritt <marc.blumentritt@arcor.de> Subject: [gentoo-user] Re: HowTo switch the default gcc Date: Mon, 08 Oct 2007 19:29:06 +0200 Message-ID: <fedpd2$hdv$1@sea.gmane.org> References: <tkrat.36ba834effba7df4@igpm.rwth-aachen.de> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@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 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dslb-088-070-118-074.pools.arcor-ip.net User-Agent: Thunderbird 2.0.0.6 (X11/20070819) In-Reply-To: <tkrat.36ba834effba7df4@igpm.rwth-aachen.de> Sender: news <news@sea.gmane.org> X-Archives-Salt: 5900e3c6-642d-46ac-8a90-b4c79c534c6b X-Archives-Hash: b435af93eb4fc97478b783b81ab0810b Helmut Jarausch schrieb: > Hi, > > my current default gcc is of version 4.1.2 but I would like to > switch to version 4.2.1. > > As root (only) I can do > > gcc-config i686-pc-linux-gnu-4.2.1 > > but this switch is lost after re-login. > Furthermore I cannot switch in non-root mode. > (BTW I'm using the zshell) > > Many thanks for a hint, Have a look at http://www.gentoo.org/doc/en/change-chost.xml It shows how to remove old gcc config after change of chost. I think you can use this. Regards Marc -- gentoo-user@gentoo.org mailing list