Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2004 17:40:19 -0500
From:      "J.D. Bronson" <jbronson@wixb.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: GCC3.4
Message-ID:  <6.1.0.6.2.20040430173939.00bf00c0@cheyenne.wixb.com>
In-Reply-To: <20040430223840.GA28597@xor.obsecurity.org>
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> <20040430223840.GA28597@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 05:38 PM 4/30/2004, you wrote:
> > >How do you do tell things to use gcc3 instead of gcc?  export a variable
> > >before make which tells make which compiler to use?
> >
> > # CC=gcc3
> > export CC
> > # CXX=c++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

well this has worked just fine for what I needed to do and keeps things 
'separate' so to speak.

  -JDB 



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