From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <azarah@gentoo.org>
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.1 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI,
	NICE_REPLY_A,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=unavailable
	autolearn_force=no version=4.0.0
Received: from starcraft.mweb.co.za (starcraft.mweb.co.za [196.2.45.78])
	by chiba.3jane.net (Postfix) with ESMTP id 073CBAC6D5
	for <gentoo-dev@gentoo.org>; Fri, 16 Aug 2002 17:15:06 -0500 (CDT)
Received: from cpt-dial-196-30-180-146.mweb.co.za ([196.30.180.146] helo=nosferatu.lan)
	by starcraft.mweb.co.za with esmtp (Exim 4.01)
	id 17fpMu-0006Ft-00; Sat, 17 Aug 2002 00:14:57 +0200
Subject: Re: [gentoo-dev] About gcc3.1.1
From: Martin Schlemmer <azarah@gentoo.org>
To: Thomas Beaudry <tmbeaudry@msn.com>
Cc: Gentoo-Dev <gentoo-dev@gentoo.org>
In-Reply-To: <F9okYaud1DArJonX6qy00010888@hotmail.com>
References: <F9okYaud1DArJonX6qy00010888@hotmail.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 17 Aug 2002 00:13:51 +0200
Message-Id: <1029536032.17478.6.camel@nosferatu.lan>
Mime-Version: 1.0
Sender: gentoo-dev-admin@gentoo.org
Errors-To: gentoo-dev-admin@gentoo.org
X-BeenThere: gentoo-dev@gentoo.org
X-Mailman-Version: 2.0.6
Precedence: bulk
List-Help: <mailto:gentoo-dev-request@gentoo.org?subject=help>
List-Post: <mailto:gentoo-dev@gentoo.org>
List-Subscribe: <http://lists.gentoo.org/mailman/listinfo/gentoo-dev>,
	<mailto:gentoo-dev-request@gentoo.org?subject=subscribe>
List-Id: Gentoo Linux developer list <gentoo-dev.gentoo.org>
List-Unsubscribe: <http://lists.gentoo.org/mailman/listinfo/gentoo-dev>,
	<mailto:gentoo-dev-request@gentoo.org?subject=unsubscribe>
List-Archive: <http://lists.gentoo.org/pipermail/gentoo-dev/>
X-Archives-Salt: 89a6a770-0af7-48bd-b898-371962d9dc71
X-Archives-Hash: 7e6932f99fcf6b016cb15eab55fa28ae

On Fri, 2002-08-16 at 20:02, Thomas Beaudry wrote:
> 
> You don't need to do anything unless the ebuild screws with the install
> process.  The gcc install process makes the last version installed the
> default version.  Other versions can be invoked with the version flag.
> 

Not in Gentoo land.  The ebuild have a function that tries to "detect"
if it should be installed as the default, or alongside 2.95.3.  If
you are for instance not in the gcc3 profile, then it wont install
as default, because the "default-1.0" profile will break with only
gcc3 installed.

> Caveat:  The frontend installed with gcc3.x is incompatible with gcc2.x
> according to the web site so it will not be able to invoke your 2.95.3
> compiler.  Of course it's possible that the ebuild does something to
> the install to get around this problem.  I have no idea as I only use
> the latest compiler.
> 
> 
> >Dear people at Gentoo,
> >
> >   Yesterday I installed gcc3.1.1 in my Gentoo sytem. The problem is
> >that, as it needs gcc (2.95.3) to be compiled, after the installation I
> >have 2 gccs. One, the 2.95.3, is gcc and the other one, 3.1.1, is gcc3-
> >1. I want to make 3.1 my default compiler for C, C++, etc. How do I do
> >it?. By now, I have moved gcc and cc to gcc-old and cc-old and made
> >symbolic links to gcc-3.1, but it seems not to be an elegant way.
> >
> >
> >Thanx.
> >Igor Modino
> 
> 
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa