From owner-freebsd-bugs@FreeBSD.ORG Wed Feb 18 09:50:14 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F363716A4CE for ; Wed, 18 Feb 2004 09:50:13 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F05A043D1D for ; Wed, 18 Feb 2004 09:50:13 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1IHoDbv085452 for ; Wed, 18 Feb 2004 09:50:13 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1IHoDpp085451; Wed, 18 Feb 2004 09:50:13 -0800 (PST) (envelope-from gnats) Date: Wed, 18 Feb 2004 09:50:13 -0800 (PST) Message-Id: <200402181750.i1IHoDpp085451@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Chaskiel M Grundman Subject: Re: bin/41908: make: $? not always set X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Chaskiel M Grundman List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2004 17:50:14 -0000 The following reply was made to PR bin/41908; it has been noted by GNATS. From: Chaskiel M Grundman To: Volker Stolz , freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: bin/41908: make: $? not always set Date: Wed, 18 Feb 2004 12:41:28 -0500 --On Wednesday, February 18, 2004 10:14:19 +0100 Volker Stolz wrote: > .OODATE The list of sources for this target that were deemed > out-of-date; also known as `?'. Given that definition for $?, I suppose that make's behavior is correct. You may close the bug if you wish. It's unfortunate that the meaning of $? differs from that used by Sun make and GNU Make. Sun's make.1 says: $? The list of dependencies that are newer than the tar- get. make.info says: `$?' The names of all the prerequisites that are newer than the target, with spaces between them. For prerequisites which are archive members, only the member named is used $> isn't a good workaround for me, as it's BSD specific. The software probably would have been using $^ (which seems similar to how you describe $>), except that $^ is GNU specific.