From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 20:38:38 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E31E16A4CE for ; Mon, 28 Feb 2005 20:38:38 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10DAC43D48 for ; Mon, 28 Feb 2005 20:38:38 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 403A3512A7; Mon, 28 Feb 2005 12:38:37 -0800 (PST) Date: Mon, 28 Feb 2005 12:38:37 -0800 From: Kris Kennaway To: Charles Swiger Message-ID: <20050228203837.GB79479@xor.obsecurity.org> References: <42236D3E.1000509@ccstores.com> <88d5547f604870af34b28bb71ab5c390@mac.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cmJC7u66zC7hs+87" Content-Disposition: inline In-Reply-To: <88d5547f604870af34b28bb71ab5c390@mac.com> User-Agent: Mutt/1.4.2.1i cc: Jim Pazarena cc: freebsd-questions@freebsd.org Subject: Re: cvsup gcc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 20:38:38 -0000 --cmJC7u66zC7hs+87 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 28, 2005 at 02:24:55PM -0500, Charles Swiger wrote: > On Feb 28, 2005, at 2:13 PM, Jim Pazarena wrote: > >on 5.3, gcc 3.4.2 sees to have been updated, but doing a make > >install doesn't give you the new version 3.4.4 (gcc --version). > > > >what would the procedure be to get the newer gcc set as the default? >=20 > cd /usr/ports/lang/gcc34 > make install > echo "CC=3D/usr/local/bin/gcc" >> /etc/make.conf > echo "C++=3D/usr/local/bin/g++" >> /etc/make.conf >=20 > Note that you might need to unset the above when building the kernel or= =20 > world. Yes - it's not supported to use a non-system compiler to build kernel or world, and this will often fail. Kris --cmJC7u66zC7hs+87 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCI4FMWry0BWjoQKURAiXGAJ4hVYJYCX3HmNN+PCKawm81a7OUyQCgnO8f L2aN202dFPwqXpq4fdXBd0U= =dolE -----END PGP SIGNATURE----- --cmJC7u66zC7hs+87--