From owner-cvs-all Tue Apr 9 21:48:24 2002 Delivered-To: cvs-all@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 3EA2F37B416; Tue, 9 Apr 2002 21:48:20 -0700 (PDT) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id g3A4mJJ18937; Tue, 9 Apr 2002 21:48:19 -0700 (PDT) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.2/8.12.2) with ESMTP id g3A4mMJv010202; Tue, 9 Apr 2002 21:48:22 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.2/8.12.2/Submit) id g3A4mLgl010201; Tue, 9 Apr 2002 21:48:21 -0700 (PDT) Date: Tue, 9 Apr 2002 21:48:21 -0700 From: Marcel Moolenaar To: "David O'Brien" 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: <20020410044821.GA10113@dhcp01.pn.xcllnt.net> References: <20020408144719.B92702@dragon.nuxi.com> <20020408232040.459C33811@overcee.wemm.org> <20020408191029.B93005@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020408191029.B93005@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 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