Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2003 22:32:41 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Mike Meyer <mwm-dated-1044161150.d06f9f@mired.org>
Cc:        "Thaddeus J. Quintin" <quintin@ohio.edu>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Installing new versions of GCC
Message-ID:  <20030128063241.GA1398@rot13.obsecurity.org>
In-Reply-To: <15926.2814.331230.808433@guru.mired.org>
References:  <15925.58197.393122.606646@guru.mired.org> <001401c2c67e$0e734710$0200a8c0@tjqathlonpc> <15926.2814.331230.808433@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <qui=
ntin@ohio.edu> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030128063241.GA1398>