Date: Tue, 9 Apr 2002 21:48:21 -0700 From: Marcel Moolenaar <marcel@xcllnt.net> To: "David O'Brien" <obrien@FreeBSD.org> Cc: Peter Wemm <peter@wemm.org>, Ruslan Ermilov <ru@FreeBSD.org>, 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: <20020410044821.GA10113@dhcp01.pn.xcllnt.net> In-Reply-To: <20020408191029.B93005@dragon.nuxi.com> References: <20020408144719.B92702@dragon.nuxi.com> <20020408232040.459C33811@overcee.wemm.org> <20020408191029.B93005@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020410044821.GA10113>