3 9c, 9a, 9l, 9ar \- C compiler, assembler, linker, archiver
44 These programs are shell scripts that invoke the appropriate standard tools
45 for the current operating system and architecture.
46 One can use them to write portable recipes for mkfiles.
51 into object files for the current system.
52 The system C compiler is invoked with warnings enabled,
55 is defined in the C preprocessor, and with
64 on Linux systems with 2.6-series kernels.
67 assembles the named files into object files for the current system.
68 Unlike some system assemblers, it does
70 promise to run the C preprocessor on the source files.
73 links the named object files and libraries to create the target executable.
76 option specifies that a library named
81 option adds directories to the library search path.
83 invokes the system linker with
85 already on the library search path.
88 maintains object file archives called libraries.
89 The exact set of valid command keys varies from system to system,
92 always provides the following key characters:
97 from the archive file.
102 in the archive file, or add them if missing.
105 List a table of contents of the archive.
106 If names are given, only those files are listed.
109 Extract the named files.
110 If no names are given, all files in the archive are
114 alter the archive file.
119 description of the making of a
120 new archive file from the old archive and the constituent files.
123 give a long listing of all information about the files,
124 somewhat like a listing by
131 mode uid/gid size date name
137 will create a new archive when
139 does not exist, and give a warning.
142 discards any old contents and suppresses the warning.
153 inserts a table of contents, required by the linker, at
154 the front of the library.
155 The table of contents is
156 rebuilt whenever the archive is modified.
160 9c file1.c file2.c file3.c
161 Compile three C source files.
165 Assemble one assembler source file.
168 9ar rvc lib.a file[12].o
169 Archive the first two object files into a library.
171 9l -o prog file3.o file4.o lib.a
172 Link the final two object files and any necessary objects from the library
175 .B /usr/local/plan9/bin