Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 1996 10:18:05 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        sprice@hiwaay.net (Steve Price)
Cc:        CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org
Subject:   Re: cvs commit:  src/usr.bin/make parse.c
Message-ID:  <199611030918.KAA05695@uriah.heep.sax.de>
In-Reply-To: <327C14B4.2781E494@hiwaay.net> from Steve Price at "Nov 2, 96 09:42:44 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611030918.KAA05695>