(Contents)(Previous)(Next)

Linking the Compiled C/C++ Program

The file name of the main program must be specified as first parameter. Then '<fn>.o' or '<fn>.c' is expected as the input file, and the executable file '<fn>' is created as the output of the linkage editor. All the other file parameters can be object files '*.o', source files '*.c' or libraries '*.a' specified in any order.

Example:

cpclnk fn fn1 fn2 fn3;

fn.c, fn1.o fn2.a fn3.o are available.

The executable program receives the name fn.


(Contents)(Previous)(Next)