The address of the symbol sym specifies the program's entry point. If sym is specified as a dash (-entry=-), then no entry point is passed to the linker.
Passes the specified linker options (see page 162) to the linker command line. The option is passed to the linker in approximately the position as it appears on the driver command line. By putting the filename on the driver command line, you can pass a .lnk file to the linker. For example:
% ccmcore hello.c hello.lnk
If no option is specified after -lnk=, then the default option to the linker will be suppressed until the necessary option is provided to the linker. [default]
Forces the default behavior which is to link object files into an executable program. Alternate options include -relprog, -relobj, -archive, and -shared, all of which combine object files using either an archiver or linker but do not produce an executable program. [default]
-map= mapfile is displayed on the standard output.
-map=file mapfile is saved to file of the specified name.
Generates a relocatable object file instead of an executable file. The resulting file is suitable for being passed as input to another run of the linker.
This entire option, including everything between the braces {}, is passed unchanged to the linker.
Generates a Motorola S-record output file as well as a COFF or ELF executable. See the utility gsrec for more information.
Retains relocation information in the output file. The resulting file is suitable for execution, or it may be passed as input to another run of the linker to allow further relocation of the program.
There are three major differences between -relobj and -relprog:
Generates only a Motorola S-record output file. The output filename is specified with a -o filename option. If one is not provided, a.run will be used.
Suppresses linker warning diagnostics.