From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 13:26:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AC051065670 for ; Thu, 23 Oct 2008 13:26:56 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id F30758FC29 for ; Thu, 23 Oct 2008 13:26:55 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 5051219D0D; Thu, 23 Oct 2008 09:26:54 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=AWL autolearn=ham version=3.2.5 Received: from [10.0.10.11] (tau.demon.co.uk [80.177.26.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Thu, 23 Oct 2008 09:26:54 -0400 (EDT) Message-ID: <49007B90.7010503@cran.org.uk> Date: Thu, 23 Oct 2008 14:26:40 +0100 From: Bruce Cran User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: RW References: <48FF338D.3050809@netmediaservices.net> <20081022213556.4b5c9fa8@gumby.homeunix.com> In-Reply-To: <20081022213556.4b5c9fa8@gumby.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: GCC help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2008 13:26:56 -0000 RW wrote: > On Wed, 22 Oct 2008 10:07:09 -0400 > Victor Farah wrote: > > >> I was wondering how I would update gcc to version 4.2? >> I'm not sure I can just do a portupgrade gcc ?? >> > > > If you install a later version of gcc it won't automatically get used > because the port will use the base-system version. > Can't you set $CC to gcc44 or whatever to make the ports system use a different version of gcc? -- Bruce Cran