MPE/iX Shell and Utilities Reference Manual, Vol 1

c89(1) MPE/iX Shell and Utilities c89(1)
–Wl is used to set the output file name.
–WL is used to set the capabilities and privilege level of the program. It should
be noted that if –WL is not specified, cap=ph is passed to the link editor by
default. If you do specify –WL, this default is not passed.
–Wc is used to turn on the extension in the compiler that supports long pointers.
Operands
c89 accepts the following operands:
–l library
searches the library named liblibrary.a. c89 searches a library when its name is
encountered, so the placement of -l operands is important.
-l c This library contains all functions defined by
POSIX.1 as well as the ANSI C
language bindings. This library is searched even if you do not specify it on
the command line.
-l m refers to the library containing all functions referenced in <math.h>.
-l l refers to the library containing all functions required by the
C output of lex
that are not available through the -l c operand.
-l y refers to the library containing all functions required by the
C output of
yacc that are not available through the -l c operand.
file.a is a library of object files usually produced by ar(1), which is passed directly to the
link editor.
file.c is a
C source file to be compiled and optionally linked.
file.o is an object file created by c89 –c, which is passed directly to the link editor.
ENVIRONMENT VARIABLES
c89 uses the following environment variable:
TMPDIR
contains a path name that overrides the default directory for temporary files, if any.
FILES
c89 uses the following file:
a.out contains the executable output unless the –o output option is specified.
Commands and Utilities 1-73