*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> c89 (1)              
Title
Content
Arch
Section
 

C89(1)

Contents


NAME    [Toc]    [Back]

     c89 - ANSI (1989) C compiler

SYNOPSIS    [Toc]    [Back]

     c89 [-pedantic] [-pedantic-errors] [-D_ANSI_SOURCE] [options ...]

DESCRIPTION    [Toc]    [Back]

     Calls the C compiler (cc) with the given options, using a C language
     environment compatible with the ANSI X3.159-1989 (``ANSI C'') specification.


     This includes proper handling of trigraphs, disabling non-ANSI compiler
     features (such as asm, inline, typeof, and the $ character in identifiers),
 and definition of the preprocessor symbol __STRICT_ANSI__.

     The following options are available:

     -pedantic           Issue extra warnings defined by ANSI for use of nonANSI
 features.

     -pedantic-errors    Issue errors instead of warnings that normally would
                         be presented by -pedantic.

     -D_ANSI_SOURCE      Tell the system header file set to use an ANSI-conformant
 "clean" namespace.

SEE ALSO    [Toc]    [Back]

      
      
     cc(1)

STANDARDS    [Toc]    [Back]

     c89 conforms to IEEE Std 1003.2-1992 (``POSIX.2'').

HISTORY    [Toc]    [Back]

     c89 appeared in NetBSD 1.4.

BUGS    [Toc]    [Back]

     Since c89 is a shell wrapper script to cc, compile errors are prefixed by
     "cc:".

BSD                             January 5, 1999                            BSD
[ Back ]
 Similar pages
Name OS Title
acpp IRIX the ANSI C language preprocessor
signal Linux ANSI C signal handling
ansitape IRIX ANSI standard tape handler
pcfof Tru64 Generic print filter for ANSI, PCL, and multi-language PostScript printers
NCC IRIX 32-bit C++ compiler
cc Tru64 C compiler
yacc IRIX yet another compiler-compiler
abicc IRIX ABI C compiler
cc_bundled HP-UX bundled C compiler
cc_bundled_ia HP-UX bundled C compiler
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service