From owner-freebsd-current Sun Nov 15 15:26:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA16492 for freebsd-current-outgoing; Sun, 15 Nov 1998 15:26:10 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA16484 for ; Sun, 15 Nov 1998 15:26:06 -0800 (PST) (envelope-from tlambert@usr05.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.8/8.8.8) id QAA13837; Sun, 15 Nov 1998 16:25:43 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp04.primenet.com, id smtpd013819; Sun Nov 15 16:25:35 1998 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id QAA03397; Sun, 15 Nov 1998 16:25:35 -0700 (MST) From: Terry Lambert Message-Id: <199811152325.QAA03397@usr05.primenet.com> Subject: Re: newer gcc? To: imp@village.org (Warner Losh) Date: Sun, 15 Nov 1998 23:25:34 +0000 (GMT) Cc: current@FreeBSD.ORG In-Reply-To: <199811100540.WAA05121@harmony.village.org> from "Warner Losh" at Nov 9, 98 10:40:37 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > : That's a bit premature. I'd be more interested if you could even build > : the world from egcs installed in /usr/local. > > As would I. I'm trying to get a cross build environment working, and > am finding that gcc is a hard nut to crack at its current revision > level. You will find that you can not use a C++ compiler from a port to build in trees where DESTDIR is defined. The reason for this is that the use of DESTDIR screws up CFLAGS and CXXINCLUDES to use the DESTDIR relative (and therefore non-port) include directories. So if, for example, you have code that depends on exceptions and RTTI working, you are SOL. See: /usr/share/mk/bsd.prog.mk /usr/share/mk/bsd.lib.mk for details. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message