home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: brnstnd@KRAMDEN.ACF.NYU.EDU (Dan Bernstein)
-
- Bob Lenk writes:
- > In article <1991Nov21.235529.9196@uunet.uu.net> gwyn@smoke.brl.mil (Doug Gwyn) writes:
- > > cc -Dmacrostufff -Iheaderdir -c -O foo.c bar.o mylib.a -lX
- > > The requirement that this invocation (when -I etc. aren't being used)
- > > obtain a C implementation that conforms to the C standard could be left
- > > as a separate specification, not necessarily required for 1003.2 proper.
- > Then what use would the 1003.2 spec be?
-
- It would document what UNIX systems do. Why are you trying to mandate
- particular standards of quality? Just because you think high-quality cc
- implementations should compile ANSI C is no reason to require everyone
- to come up to that level of quality.
-
- > An application (script/makefile)
- > using it couldn't depend on it compiling standard C, or K&R C, or 6th
- > edition C, or perhaps even Cobol.
-
- Don't you trust the market to do *anything*? If a vendor markets a UNIX
- system where cc compiles Cobol, it won't last too long. (Well, unless
- it's IBM.) It's not a disaster that cc doesn't always support ANSI C:
- that's *how the world works*! People still manage to write portable
- code.
-
- POSIX seems to have decided that portable applications *need* cc (or
- c89, whatever) to compile ANSI C. Why? On what basis was it decided that
- this area needed standardization? The market certainly hasn't made the
- same decision. Have you ever considered erring on the side of caution?
-
- ---Dan
-
-
- Volume-Number: Volume 26, Number 28
-
-