Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jun 1999 06:11:32 +0900
From:      OKAZAKI Tetsurou <okazaki@be.to>
To:        j@y.ml.org
Cc:        chuckr@picnic.mat.net, freebsd-ports@FreeBSD.ORG
Subject:   Re: Making egcs the default for building ports
Message-ID:  <14164.19588.713675.87812T@dolphin.be.to>
In-Reply-To: In your message of "Tue, 1 Jun 1999 07:20:09 -0700" <19990601072007.A17233@y.ml.org>
References:  <19990531121511.A15449@y.ml.org> <Pine.BSF.4.10.9905311556510.82061-100000@picnic.mat.net> <19990601072007.A17233@y.ml.org>

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

At Tue, 1 Jun 1999 07:20:09 -0700,
J. Heinrich wrote:
> 
> On Mon, May 31, 1999 at 04:01:26PM -0400, Chuck Robey wrote:
> 
> > Most often, you can do:
> > 
> > setenv CC (path to your egcs compiler)
> > setenv CXX (path to your egcs C++ compiler)
> 
> But I'd have to remember to do this every time.
(snip)
> Are CC & CXX the only vars that need to be set?
> 
> > You can do other things, like sticking
> > /usr/local/bin in your path ahead of /usr/bin, but I sure don't like
> > that.  
> 
> Me neither.

To specify egcs as the compiler for building ports on -STABLE,
you can use egcc and eg++ instead of gcc and g++, for example:

 % make CC=egcc CXX=eg++ build

though some ports may not respect ${CC} and ${CXX}.

-- 
Tetsurou


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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