Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

User Commands (c) c89(1)
14. The command
c89 file.c -lc -WBstatic -l archive -WBdynamic -l native
compiles the source le le.c and links the object le into an executable le a.out in the
current working directory. The linker performs dynamic linking by searching rst for the
le libc.srl and then libc.a. The linker then performs static linking by searching for the
le libarchive.a. The linker then performs dynamic linking by searching rst for the le
libnative.srl and then libnative.a.
15. The command
c89 file.c -lc -Wcall_shared -WBstatic
-l archive -WBdynamic
-l native
compiles the source le le.c and links the object le into loadle a.out in the current
working directory. eld or ld performs dynamic linking by searching rst for the le
libc.so and then libc.a. The linker then performs static linking by searching for the le
libarchive.a. The linker then performs dynamic linking by searching rst for the le
libnative.so and then libnative.a.
16. The command
c89 -Wsqlcomp -c exefile
invokes the NonStop SQL/MP compiler to process the already linked le exele.
17. The command
c89 -Wmxcmp -c module.m
invokes the NonStop SQL/MX compiler to process the module denition le module.m.
FILES
/usr/bin/c89
Native c89 in the OSS environment.
/G/system/sysnn/zcresrl
Common Run-Time Environment (CRE) function object code for G-series processes;
linked automatically.
/G/system/sysnn/zcredll
Common Run-Time Environment (CRE) function object code for H-series processes;
linked automatically.
/G/system/sysnn/zcrtlsrl
C run-time library function object code for G-series processes; linked automatically.
/G/system/sysnn/zcrtldll
C run-time library function object code for H-series processes; linked automatically.
/G/system/sysnn/zicnvsrl
Function object code for G-series processes; linked automatically.
/G/system/sysnn/zicnvdll
Function object code for H-series processes; linked automatically.
527188-004 Hewlett-Packard Company 229