From owner-freebsd-current Thu Feb 7 10: 4:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 12AAE37B445 for ; Thu, 7 Feb 2002 10:02:28 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id g17I1PY63787; Thu, 7 Feb 2002 10:01:25 -0800 (PST) (envelope-from obrien) Date: Thu, 7 Feb 2002 10:01:25 -0800 From: "David O'Brien" To: Terry Lambert Cc: Max Khon , Joe Kelsey , current@freebsd.org Subject: Re: gcc3.x issues Message-ID: <20020207100125.A53237@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20020206160611.B181@dragon.nuxi.com> <200202070053.g170rjQ19592@aldan.algebra.com> <20020206170904.C181@dragon.nuxi.com> <15457.55061.55399.596297@zircon.zircon.seattle.wa.us> <20020206172554.A1999@dragon.nuxi.com> <15457.56475.172650.789685@zircon.zircon.seattle.wa.us> <20020207131144.A87654@iclub.nsu.ru> <3C624223.4AE24952@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C624223.4AE24952@mindspring.com>; from tlambert2@mindspring.com on Thu, Feb 07, 2002 at 01:00:19AM -0800 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Feb 07, 2002 at 01:00:19AM -0800, Terry Lambert wrote: > Max Khon wrote: > > please calm down. seems that you have never installed gcc from ports. > > > > gcc 2.95 from ports is installed as gcc295/g++295 > > and correctly gets its bits from /usr/local/lib/gcc-lib/xxx, > > gcc 3.0x from ports is named gcc30/g++30 and so on. > > There is no PATH issue. Switching between compilers is as easy as > > setting correct CC/CXX environment/Makefile variables. > > And hacking the Makefile a lot to specify command line > arguments in the compiler program definition itself, so > that the /usr/include/g++ files that came with the old > compiler are not used for "make release" and other types > of make targets where DESTDIR is fairly mandatory. Terry, we only support building the world (ie, anything in /usr/src) with the *SYSTEM* compiler. If you are wanting to do: cd /usr/src make CC=FOOcc CXX=FOO++ buildworld Then you are going off into the "not-supported woods" and you should expect to have to do some hacking. If you are wanting to use /usr/share/mk for your own projects, then that is also a debatable issue. Some claim /usr/share/mk is only for use of /usr/src; others feel it should be generic and truely usable for other code. If you have some well tested patches to fix the assumptions in /usr/share/mk, we might can change things. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message