MPE/iX Shell and Utilities Reference Manual, Vol 1

c89(1) MPE/iX Shell and Utilities c89(1)
–O optimizes the executable output.
–o output
writes the executable output to the file output. If you specify the –c or –E option, no
executable output is created.
–P listfile
specifies a listing file for the C compile. It passes listfile to the file equation for
cclist. At present, it is not possible to create a listing file using the
POSIX name
syntax. You must use traditional MPE/iX names with this option. For example,
c89 –c –P listing.mygroup.sys foo.c
–T stacksize
passes stacksize to the link editor which uses it to set the native mode stack size of
the program. This is equivalent to
–WL,nmstack=stacksize
–s produces stripped object and/or executable files from which symbolic and other
information not required for proper execution using exec has been removed.
–U name
undefines the symbol name.Ifname appears in both a –D and a –U option, it is unde-
fined regardless of the order in which the options were specified.
–Wphase,arg ...
passes arguments to other phases of the compile process. phase can normally be one
of two values:
c passes the arguments (arg ...) to the
C compiler.
l passes the arguments (arg ...) to the linker.
On MPE/iX, however, there are two ways to pass arguments to the link editor. As a result,
phase can be one of the following three values:
c passes the arguments to the compiler CCOMXL.PUB.SYS
l places the arguments in the indirect file passed to the link editor
LINKEDIT.PUB.SYS
L adds the arguments to the command line of the link editor
LINKEDIT.PUB.SYS
Here is an example of how these options might be used to compile a program that uses AIFs.
c89 "–Wl, –o AIF1" –Wc,+e "–WL,cap=ph,pm,ia;PRIVLEV=2" aif1.c
1-72 Commands and Utilities