Previous Topic Next topic Print topic


Include Symbol in Executable File (-I symb)

Marks symb for inclusion in the executable output file. symb can be either of:

 symbol[, symbol]
 :symbol-filename

where symbol is a function name and symbol-filename is a text file containing a list of symbols, one per line. Spaces between -I and ":" are allowed. There can be no spaces between ":" and the filename.

When symb is pulled in by the system linker, the entire object is pulled in along with any other objects that are referenced. For example:

cob -xo rts32 -e "" -I func1 -I func2
Previous Topic Next topic Print topic