ld Manual

ld Options
ld Manual529650.001
2-3
-no_reexport or reexport Directs ld whether to mark for reexport libraries in the
command stream between this flag and the next reexport
control flag in its libList entry in the loadfile being created.
-nostdfiles or -no_stdfiles
Specifies that C run-time library functions do not open
standard input and standard output files automatically.
-nostdlib or -no_stdlib
Prevents ld from searching standard library locations for
libraries and archive files.
-noverbose or -no_verbose
Prevents most ld commands from writing warning and
informational messages to its output listing. (-map, -
show_multiple_defs, -unres_symbols, and -y display
messages regardless of this setting.)
-o
Specifies the file name of the output loadfile.
-rld_l
Directs ld to set search paths in the loadfile for later use by
the rld loader.
-rld_first_l
Directs ld to set search paths in the loadfile for later use by
the rld loader.
-s
Removes symbol information used for linking and symbolic
debugging from the output loadfile.
-set
Sets a run-time attribute to a specified value when creating a
loadfile.
-show_multiple_defs
Directs ld to produce a listing of any symbols with multiple
definitions within input linkfiles.
-stdin
Reads the contents of the standard input file at the place the
flag is specified on the command line.
-strip
Removes symbol information used for linking and symbolic
debugging from an existing loadfile.
-t
Specifies the hexadecimal virtual address at which the text
segment starts.
-temp_o
Directs ld to save its output loadfile work with the specified
file name until it has successfully rewritten the file name
specified in -o.
-u
Directs ld to add a specified symbol as an undefined symbol,
which causes ld to search for this symbol in archive libraries
that are specified after this flag in the command stream.
-ul
Creates a DLL as a native user library.
-unres_symbols
Directs ld what action to take when a needed symbol cannot
be resolved.
Table 2-1. ld Flag Summary (page 3 of 4)
Flag Description