help - old c compiler
Martin Kotuliak
martin_kotuliak na tempest.sk
Čtvrtek Říjen 29 16:25:10 CET 1998
Standardne bundlovany prekladac v HPUX nepodporuje ANSI.
Martin Kotuliak
On cc na HP obcas potrebuje postrcit, aby kompiloval standardni ANSI C
syntax.
man cc
..cut....
Options
The following option is recognized only by cc:
-Amode Specify the compilation standard to be used by the
compiler. mode can be one of the following letters:
c (Default) Compile in a mode compatible with
HP-UX releases prior to 7.0. (See The C
Programming Language, First Edition by
Kernighan and Ritchie). This option also
defines the symbol _HPUX_SOURCE and allows the
user to access macros and typedefs provided by
the HPUX Operating System. The default
compilation mode may change in future
releases.
a Compile under ANSI mode (ANSI programming
language C standard ISO 9899:1990). When
compiling under ANSI mode, the header files
would define only those names (macros and
typedefs) specified by the Standard. To access
bye
Další informace o konferenci Linux