From owner-freebsd-stable Tue Jul 23 7:55: 8 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A58E37B400 for ; Tue, 23 Jul 2002 07:55:03 -0700 (PDT) Received: from skynet.stack.nl (insgate.stack.nl [131.155.140.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F42043E4A for ; Tue, 23 Jul 2002 07:55:02 -0700 (PDT) (envelope-from marcolz@stack.nl) Received: from toad.stack.nl (toad.stack.nl [2001:610:1108:5010:202:b3ff:fe17:9e1a]) by skynet.stack.nl (Postfix) with ESMTP id 54B1C4011; Tue, 23 Jul 2002 16:54:54 +0200 (CEST) Received: by toad.stack.nl (Postfix, from userid 333) id 0C0DD98D1; Tue, 23 Jul 2002 16:55:00 +0200 (CEST) Date: Tue, 23 Jul 2002 16:55:00 +0200 From: Marc Olzheim To: Brad Laue Cc: Marc Olzheim , freebsd-stable@freebsd.org Subject: Re: USE_GCC=3.1 ? Message-ID: <20020723145500.GA24270@stack.nl> References: <20020721183000.GA89075@stack.nl> <20020722003917.GA32906@stack.nl> <20020723143416.GA21979@stack.nl> <20020723104419.4e6286e9.brad@brad-x.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020723104419.4e6286e9.brad@brad-x.com> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD toad.stack.nl 4.6-STABLE FreeBSD 4.6-STABLE X-URL: http://www.stack.nl/~marcolz/ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I actually had this discussion a couple of days ago. I was informed > that USE_GCC is not to be put in make.conf, nor is any other USE_ > statement; apparently these only suit port makefiles. > > In order to use GCC 3.1, browse through /usr/ports/Mk and see what the > USE_GCC=3.1 declaration causes to be set in the make environment; > place those things in make.conf. > > Specifically these are: > > CC=gcc31 > CXX=g++31 But if I put that in my make.conf, my world and kernel get built with 3.1 as well... I'd like to have that just for ports. Hmm, wait, I can put it in /usr/local/etc/pkgtools.conf I guess. I trust that programs are linked using $CC and $CXX itself instead of $LD ? Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message