From owner-cvs-usrbin Sun Nov 3 01:21:44 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA09274 for cvs-usrbin-outgoing; Sun, 3 Nov 1996 01:21:44 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA09219; Sun, 3 Nov 1996 01:21:28 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id KAA11686; Sun, 3 Nov 1996 10:21:25 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id KAA24515; Sun, 3 Nov 1996 10:21:25 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.2/8.6.9) id KAA05695; Sun, 3 Nov 1996 10:18:06 +0100 (MET) From: J Wunsch Message-Id: <199611030918.KAA05695@uriah.heep.sax.de> Subject: Re: cvs commit: src/usr.bin/make parse.c To: sprice@hiwaay.net (Steve Price) Date: Sun, 3 Nov 1996 10:18:05 +0100 (MET) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <327C14B4.2781E494@hiwaay.net> from Steve Price at "Nov 2, 96 09:42:44 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Steve Price wrote: > This is the first step in making make(1) POSIX 1003.2 > compliant. I left this feature undocumented in the > manpage since POSIX specifies that CC=c89 and FC=fort77. > I suppose one could use it if they symlink'd cc -> c89 > and fc -> fort77. It's always an error to not document things. :-) c89 should be installed as: ------8<-----8<-----8<-----8<-----8<-----8<----- #!/bin/sh exec cc -ansi "$@" ------8<-----8<-----8<-----8<-----8<-----8<----- I'm not sure whether our f77 is Posix-compliant enought to serve directly as fort77. If so, we should provide the link by default. That's the entire idea behind the somewhat weird Posix naming: an operating system can decide whether simply linking the existing tools to a new name will do it, or whether you need some wrapper that turns the existing tools into a Posix-compliant mode. Since Posix mandates ANSI C, the -ansi above should be used so gcc barfs at old code. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)