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 ) id 1IfELJ-0003Oi-Tc for garchives@archives.gentoo.org; Tue, 09 Oct 2007 12:37:46 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l99CQH6d014818; Tue, 9 Oct 2007 12:26:17 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 l99CKeTe007167 for ; Tue, 9 Oct 2007 12:20:41 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id B4D67650DA for ; Tue, 9 Oct 2007 12:20:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -1.621 X-Spam-Level: X-Spam-Status: No, score=-1.621 required=5.5 tests=[AWL=0.978, 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 FMtRUpNRVs+I for ; Tue, 9 Oct 2007 12:20:33 +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 0949564E14 for ; Tue, 9 Oct 2007 12:20:31 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IfE40-00009M-9J for gentoo-user@gentoo.org; Tue, 09 Oct 2007 12:19:52 +0000 Received: from dslc-082-082-072-150.pools.arcor-ip.net ([82.82.72.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Oct 2007 12:19:52 +0000 Received: from marc.blumentritt by dslc-082-082-072-150.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Oct 2007 12:19:52 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Marc Blumentritt Subject: [gentoo-user] Re: HowTo switch the default gcc Date: Tue, 09 Oct 2007 14:19:26 +0200 Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail 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: dslc-082-082-072-150.pools.arcor-ip.net User-Agent: Thunderbird 2.0.0.6 (X11/20070819) In-Reply-To: Sender: news X-Archives-Salt: a4c39f9d-7461-4263-ab38-a77200e9ec73 X-Archives-Hash: d06bdf473d4f3711bf3b0fb76673c1f2 Helmut Jarausch schrieb: > but what value of CHOST should I take? This is OK. I did not send this link for CHOST, but for the part of checking the gcc config. > 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. Have a look at /etc/env.d/05gcc and the files in /etc/env.d/gcc I think it should be enough to change /etc/env.d/gcc/config to your liking and then run env-update && source /etc/profile Anyway, I always thought, that setting gcc with gcc-config should be enough. Perhaps you should use the -f option? Regards, Marc -- gentoo-user@gentoo.org mailing list