MPE/iX Shell and Utilities Reference Manual, Vol 1

c89(1) MPE/iX Shell and Utilities c89(1)
NAME
c89 – generic C compiler interface
SYNOPSIS
c89 [–cEgOs][–D name[=value]] ... [–I directory] ... [–L directory] ...
[–o output][–P listfile][–T stacksize][–U name] ... [–Wphase,arg...] operand...
DESCRIPTION
Note: The
MPE/iX implementation of this utility does not function exactly as this man page
describes. For details, see the MPE/iX NOTES section at the end of this man page.
c89 is an interface to the C compiler and linker on your system. It accepts source code con-
forming to the
C standard. The files specified by operands are compiled and linked to produce
an executable file. By default, the executable file is written to a.out.
Options
c89 accepts the following options:
–c suppresses the link-edit phase of the compilation and does not delete any object files
that are produced. Each operand of the form file.c produces an object file named
file.o.
–D name[=value]
defines name as if by a #define directive. If you omit =value, c89 assumes a
value of 1.
–E copies the
C source to the standard output after expanding all preprocessor directives.
The source code is not compiled.
–g produces symbolic information for use by debuggers in the object or executable files.
–I directory
adds directory to the search path for #include files which do not have absolute
path names. If the name of an #include file is enclosed in double-quotes (""),
c89 first searches the directory of the file containing the #include directive. It
then searches the directories indicated by –I options and finally, it searches
/usr/include. If the name of an #include file is enclosed in angle brackets (<
>), c89 first searches the directories indicated by –I options, and then
/usr/include.
–L directory
adds directory to the search path for libraries. c89 first searches the directories indi-
cated by –L options in the order they appear on the command line, and then searches
/lib and /usr/lib
Commands and Utilities 1-71