Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2004 15:38:40 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        "J.D. Bronson" <jbronson@wixb.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: GCC3.4
Message-ID:  <20040430223840.GA28597@xor.obsecurity.org>
In-Reply-To: <6.1.0.6.2.20040430093535.0246f238@localhost>
References:  <C318E8B3-9A6D-11D8-94AF-000A95989E4A@lixfeld.ca> <20040430070958.GA76706@xor.obsecurity.org> <66231CBC-9AAD-11D8-94AF-000A95989E4A@lixfeld.ca> <6.1.0.6.2.20040430085350.02465dd0@localhost> <9DEE44BD-9AB0-11D8-94AF-000A95989E4A@lixfeld.ca> <6.1.0.6.2.20040430093535.0246f238@localhost>

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

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

On Fri, Apr 30, 2004 at 09:36:07AM -0500, J.D. Bronson wrote:
> At 09:13 AM 04/30/2004, Jason Lixfeld wrote:
> >How do you do tell things to use gcc3 instead of gcc?  export a variable=
=20
> >before make which tells make which compiler to use?
>=20
> # CC=3Dgcc3
> export CC
> # CXX=3Dc++3
> export CXX

Note that you usually can't mix and match C++ code compiled with
different versions of GCC, because they frequently break the ABI.

Kris

--huq684BweRXVnRxX
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFAktVwWry0BWjoQKURAgE+AKDpYMo2JwYdmUznw5g1HstvqgywUQCg9K5y
rY5xp9kgDkpk3ZreU2cuE9g=
=gstD
-----END PGP SIGNATURE-----

--huq684BweRXVnRxX--



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