Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2004 00:09:59 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Jason Lixfeld <jason+lists.freebsd@lixfeld.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: GCC3.4
Message-ID:  <20040430070958.GA76706@xor.obsecurity.org>
In-Reply-To: <C318E8B3-9A6D-11D8-94AF-000A95989E4A@lixfeld.ca>
References:  <C318E8B3-9A6D-11D8-94AF-000A95989E4A@lixfeld.ca>

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

--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 30, 2004 at 02:15:22AM -0400, Jason Lixfeld wrote:
> I've just installed gcc3.4 to, among other things take advantange of =20
> the -march=3Dopteron options.  I'm in quite a bit of a conundrum here =20
> because I've installed, changed the order in $PATH to look in =20
> /usr/local/bin before /usr/bin for gcc, cc etc but when I run a make =20
> buildworld it fails saying it doen't recognize the -march=3Dopterion =20
> option.  This means that the old system version of gcc is still being =20
> referenced somehow, even though I've set the paths:

This is intentional (the system compiler is rebuilt as part of the
buildworld process, and thereafter used explicitly).

You can't compile world with a compiler that is not the system
compiler, because it would fail with errors.  If you must have a world
compiled with gcc 3.x, you'll have to use the FreeBSD 5.x branch,
which uses gcc 3.x as the system compiler.

Kris

--opJtzjQTFsWo+cga
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAkfvGWry0BWjoQKURAjhOAKC868VPjfDkaEoeJow0RIENegFhAwCdH9ao
O9ZCEa0LttRR9/QPZIo4FQ8=
=GLNt
-----END PGP SIGNATURE-----

--opJtzjQTFsWo+cga--



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