From owner-freebsd-questions Mon Jan 27 22:32:46 2003 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 1CEB137B401 for ; Mon, 27 Jan 2003 22:32:45 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-169-104-205.dsl.lsan03.pacbell.net [64.169.104.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAD7C43F75 for ; Mon, 27 Jan 2003 22:32:43 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id E3F9A678BE; Mon, 27 Jan 2003 22:32:42 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id DFDAA1624; Mon, 27 Jan 2003 22:32:41 -0800 (PST) Date: Mon, 27 Jan 2003 22:32:41 -0800 From: Kris Kennaway To: Mike Meyer Cc: "Thaddeus J. Quintin" , freebsd-questions@FreeBSD.ORG Subject: Re: Installing new versions of GCC Message-ID: <20030128063241.GA1398@rot13.obsecurity.org> References: <15925.58197.393122.606646@guru.mired.org> <001401c2c67e$0e734710$0200a8c0@tjqathlonpc> <15926.2814.331230.808433@guru.mired.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <15926.2814.331230.808433@guru.mired.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 27, 2003 at 10:45:50PM -0600, Mike Meyer wrote: > [Context delete due to top posting.] >=20 > In <001401c2c67e$0e734710$0200a8c0@tjqathlonpc>, Thaddeus J. Quintin typed: > > First off, that was a typo in my original email. > > I was running make in /usr/ports/lang/gcc32. > >=20 > > It doesn't seem right that I should need to delete all of the old > > compilers and create links, but perhaps that's what I need to do. >=20 > If you do that, the system will quit making. So don't do that. Tell > things that need to be built with gcc32 that the compiler is named > gcc32. >=20 > If you really want gcc to invoke that gcc, link gcc to gcc32 in > /usr/local/bin, and make sure /usr/local/bin preceeds /usr/bin in your > path. =2E..but it's better to use the standard way to specify the choice of compiler, namely setting the CC and CXX environment variables to point to the C and C++ compilers. Kris --KsGdsel6WgEHnImy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+NiQJWry0BWjoQKURAiokAKD+H6yowuUvW7nsCcxwMNTbdCD6xQCfXQ9P sFGZ48JILC84sRyD122nXeY= =9Jjc -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message