From owner-cvs-all Thu Apr 11 0:12:37 2002 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id A54D537B405; Thu, 11 Apr 2002 00:12:26 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g3B7CIn33019; Thu, 11 Apr 2002 10:12:18 +0300 (EEST) (envelope-from ru) Date: Thu, 11 Apr 2002 10:12:18 +0300 From: Ruslan Ermilov To: "David O'Brien" Cc: Marcel Moolenaar , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/gnu/usr.bin Makefile Message-ID: <20020411071218.GB27950@sunbay.com> References: <200204082038.g38KcuJ36871@freefall.freebsd.org> <20020409082654.GE73475@sunbay.com> <20020410045830.GB10113@dhcp01.pn.xcllnt.net> <20020410174228.GJ98684@sunbay.com> <20020410180308.C84993@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mxv5cy4qt+RJ9ypb" Content-Disposition: inline In-Reply-To: <20020410180308.C84993@dragon.nuxi.com> User-Agent: Mutt/1.3.27i 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 --mxv5cy4qt+RJ9ypb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 10, 2002 at 06:03:08PM -0700, David O'Brien wrote: > On Wed, Apr 10, 2002 at 08:42:28PM +0300, Ruslan Ermilov wrote: > > > > This is IMHO bogus. NO_CXX only means that (GNU) c++ shouldn't > > > > be built, it doesn't imply that the host doesn't have another > > > > working (probably non-GNU) c++ compiler that can build Groff. > > >=20 > > > Unfortunately this is irrelevant, because a buildworld will not > > > use it if it exists. The bottomline is that if you don't build > > > libstdc++, you cannot build anything that depends on it. Hence, > > > making gperf conditional on NO_CXX is correct. > > >=20 > > I was talking about Groff. >=20 > So was Marcel. Please come up with a way to not compile Groff and gperf > if NO_CXX is set. The assumption there is some external C++ compiler is > a rather bogus one. If there is an external C++ compiler the user should > be setting CXX=3D to it. The IA-64 case that Peter yelled at me about is > also a very special case. The TYPICAL case is an Alpha or i386 box with > NO_CXX set and which we cannot assume there is a C++ compiler available. > Otherwise I will simply remove the NO_CXX option as it is broken > otherwise. >=20 If you want to change the semantics of NO_CXX from recently "don't compile c++ compiler" to "don't compile c++ compiler and c++ programs", you will also have to disable building of lib/libc_r, as it also uses c++, in its uthread/uthread_autoinit.cc. What if the user has a compiler installed from the Ports collection and wants to compile c++ programs using it? Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --mxv5cy4qt+RJ9ypb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8tTdSUkv4P6juNwoRAhJYAJ45+AVp5MAMRAmmWJfzcruruyNpfACeMlsF 1neM1pszqhvqw8JQM+k7jFE= =6Blh -----END PGP SIGNATURE----- --mxv5cy4qt+RJ9ypb-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message