From owner-cvs-all Wed Apr 10 18: 6: 9 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 B9B6037B404; Wed, 10 Apr 2002 18:06:04 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3B162Ym085233; Wed, 10 Apr 2002 18:06:02 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g3B14h5C085205; Wed, 10 Apr 2002 18:04:43 -0700 (PDT) Date: Wed, 10 Apr 2002 18:04:43 -0700 From: "David O'Brien" To: Marcel Moolenaar Cc: Peter Wemm , Ruslan Ermilov , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/gnu/usr.bin/gperf Makefile src/gnu/usr.bin/groff/src/devices/grodvi Makefile src/gnu/usr.bin/groff/src/devices/grohtml Makefile src/gnu/usr.bin/groff/src/devices/grolbp Makefile sr Message-ID: <20020410180443.D84993@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: <20020408144719.B92702@dragon.nuxi.com> <20020408232040.459C33811@overcee.wemm.org> <20020408191029.B93005@dragon.nuxi.com> <20020410044821.GA10113@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020410044821.GA10113@dhcp01.pn.xcllnt.net>; from marcel@xcllnt.net on Tue, Apr 09, 2002 at 09:48:21PM -0700 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 Tue, Apr 09, 2002 at 09:48:21PM -0700, Marcel Moolenaar wrote: > On Mon, Apr 08, 2002 at 07:10:29PM -0700, David O'Brien wrote: > > On Mon, Apr 08, 2002 at 04:20:40PM -0700, Peter Wemm wrote: > > > > Please commit this as it does improve things. As Peter mentioned it > > > > would be nice to add the libstdc++ dependancy also. But even w/o that, > > > > this patch is a help. > > > > > > No, do what Max Khon suggested. Use PROG_CXX like NetBSD does. > > > > Why can't we do both? If we can make PROG=foo do the right thing in the > > common case we should make it do so. > > The common case is all C. That already works. If you do both, you > break the uncommon case, in which you have C++ source files (or at > least named like them) but want C linkage. You cannot use PROG= > anymore. This can only lead to a third one PROG_C, which is almost > exactly like PROG. This is confusing. > > I think only PROG_CXX is better. This automaticly means that PROG > is for C. Always... There is a patch that implements PROG= such that we can remove the explicit linkage of libstdc++. Unless someone writes and commits the PROG_CXX, we have no better option than to commit ru's patch. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message