From owner-cvs-all Thu May 16 11:52:41 2002 Delivered-To: cvs-all@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 02BED37B40F; Thu, 16 May 2002 11:52:08 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.3/8.12.2) with ESMTP id g4GIq7fg068003; Thu, 16 May 2002 11:52:07 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.3/8.12.3/Submit) id g4GIq7cr068002; Thu, 16 May 2002 11:52:07 -0700 (PDT) Date: Thu, 16 May 2002 11:52:07 -0700 From: "David O'Brien" To: Ruslan Ermilov Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/usr.bin Makefile src/gnu/usr.bin/cc Makefile Message-ID: <20020516115207.B67791@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org Mail-Followup-To: David O'Brien , Ruslan Ermilov , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200205151629.g4FGTj062213@freefall.freebsd.org> <20020515150513.A14077@dragon.nuxi.com> <20020516055741.GA26715@sunbay.com> <20020516014650.A41621@dragon.nuxi.com> <20020516103848.GA65503@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020516103848.GA65503@sunbay.com>; from ru@FreeBSD.org on Thu, May 16, 2002 at 01:38:48PM +0300 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-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, May 16, 2002 at 01:38:48PM +0300, Ruslan Ermilov wrote: > > Yes I did look at the diffs. What C++ compiler do we have that is named > > "c++" other than the system one? Certainly none of the GCC ports I > > > Obviously I just added _more_ variants for the external C++ compiler. Tell me which compiler? I don't want "in theory", I want "real world". 1. You are backing out my changeds from only 5 days ago w/o asking me to explain them. 2. The bit you show as an example is only part of your change. You totally backed out some of my changes: +# $FreeBSD: /c/ncvs/src/Makefile.inc1,v 1.277 2002/05/15 16:29:44 ru Exp $ -.if ${CXX} == "c++" -NO_CXX= yes -.endif +# $FreeBSD: /c/ncvs/src/gnu/lib/Makefile,v 1.37 2002/05/15 16:29:45 ru Exp $ -.if ${CXX:T} == "c++" -NO_CXX= yes -.endif +# $FreeBSD: /c/ncvs/src/gnu/usr.bin/cc/Makefile,v 1.30 2002/05/15 16:29:45 ru Exp $ [you removed c++, c++filt, and doc from the build] I do not think you understand the issues here. Since discussing things is now dangerous as hell around here. I am going to simply ask core to have you back out your commit under "Big List of Rules" #6. > > > Makefile.inc1 takes care of building "gperf" in bootstrap-tools, so > > > in a normal bootstrapping sequence no special hacks are necessary. > > > > Gperf is written in C++. If you have no system C++ compiler and CXX is > > set to its stock value; how are you going to build gperf? We experience > > this in the Sparc64 world where we never had a 2.95 system compiler. > > If that's the case, you want to cross-compile the sparc64 world (or only > gperf) using say i386 version of the sparc64 cross-compiler. How is that going to help?? A C++ support libraries that does not exist on the i386 or sparc64 natively, will some how pop out of the build? > I fail to > see how the check of whether "gperf" is in the PATH (the check is as > simple as for kldxref(8) in sys/modules/Makefile) helps you to proceed. Because if gperf is not in the path, cc1plus should not be built. I could just disconnect cc1plus from the build, but then it could atrophy. > "Cross compiling is next step to porting", to quote Terry. We are *ALREADY* self hosting. On your i386 box "rm /usr/bin/gperf", remove any CXX settings you have; and try to build world. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message