From owner-freebsd-ports Tue Jun 1 14:15:27 1999 Delivered-To: freebsd-ports@freebsd.org Received: from mta3.odn.ne.jp (mta3.odn.ne.jp [143.90.131.70]) by hub.freebsd.org (Postfix) with ESMTP id 5C3C214D27 for ; Tue, 1 Jun 1999 14:15:15 -0700 (PDT) (envelope-from okazaki@be.to) Received: from acidrain (TBTca-0316p45.ppp.odn.ad.jp [210.231.51.82]) by mta3.odn.ne.jp (8.8.8+2.7Wbeta7/3.6W/9808281335) with SMTP id GAA14175 for ; Wed, 2 Jun 1999 06:15:11 +0900 (JST) Received: (qmail 469 invoked from network); 1 Jun 1999 21:11:34 -0000 Received: from localhost (HELO acidrain.localnet) (127.0.0.1) by localhost with SMTP; 1 Jun 1999 21:11:34 -0000 Date: Wed, 02 Jun 1999 06:11:32 +0900 Message-ID: <14164.19588.713675.87812T@dolphin.be.to> From: OKAZAKI Tetsurou To: j@y.ml.org Cc: chuckr@picnic.mat.net, freebsd-ports@FreeBSD.ORG Subject: Re: Making egcs the default for building ports 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> <19990601072007.A17233@y.ml.org> User-Agent: Wanderlust/1.0.0 (Kokomo) SEMI/1.13.5 (=?ISO-8859-4?Q?Meih=F2?=) FLIM/1.12.6 (=?ISO-8859-4?Q?Family-K=F2enmae?=) Emacs/20.3 (i386--freebsd) MULE/4.0 (HANANOEN) Organization: Personal. MIME-Version: 1.0 (generated by SEMI 1.13.5 - =?ISO-8859-4?Q?=22Meih=F2=22?= ) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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