ld Manual

ld Options
ld Manual529650.001
2-12
-export_all
-export_all
Directs ld to mark for export in the output loadfile all symbols in the external symbol
table that are not one of these:
multiext
Global constructors (starting with __sti__)
Global destructors (starting with __std__)
Initialization functions (starting with __INIT__)
Termination functions (starting with __TERM__)
You can use -export_all with -export to create a subset of symbols to be exported.
The default action when -ul is not used is to export only those symbols marked by a
compiler as requiring export.
-export_not
Directs ld not to mark a symbol for export in the output loadfile.
symbol_name
is the name of the symbol not to be exported by the DLL being created.
You can use -export_not with -export_all to create a subset of symbols to be
exported. The symbol_name in -export_not cannot be the same as the
symbol_name in -export.
The default action is to export all symbols marked by a compiler as requiring export.
-first_l
Directs ld to use the specified path name when searching for libraries.
path name
is the path name to be used in library searches before the public libraries are
searched. You cannot embed spaces (blanks) in path name. A path name can
be:
a relative or absolute Windows directory path name
a relative or absolute OSS directory path name
-export_all
-export_not symbol_name
-first_l path name