DLL Programmer's Guide for TNS/E Systems

DLL Programmer’s Guide for TNS/E Systems—527252-006
A-1
A Linker Options List
This section lists all the options supported by the TNS/E linker. For each one the
complete syntax is shown, a brief statement of its function is given, and a hyperlinked
reference is given to the main discussion of it elsewhere in this manual.
If no hyperlink exists the option is either a synonym so look for the other option name,
or the option is not covered in this manual and so you should consult the eld Manual
for further details. There is a similar options list in the eld Manual that will give you the
exact page reference in that manual.
-alf <filename>
Rebase or rebind an existing loadfile (or both), recreating the file.
-all
Use all members from archives.
-allow_duplicate_procs
Do not consider it an error if there are multiple definitions of procedures with the
same name.
-allow_missing_libs
Do not consider it an error if a -l option cannot be resolved, except in situations
where -b static is in effect. See Allowing Missing Libraries on page 2-12 .
-allow_multiple_mains
Do not consider it an error if more than one procedure has the MAIN attribute.
See Designating the Main Entry Point of Your Program on page 5-4.
-ansistreams
At runtime, the program will use the ANSI version of C I/O.
See Changing Run-Time Options for C and C++ Programs
on page 5-15.
-b { dllsonly | dynamic | static }
These options specify whether the linker accepts DLLs or archives (or both).
See Making the Linker Accept Only DLLs or Only Archives
on page 5-1.
-b { globalized | localized | semi_globalized | symbolic }
These options affect how references are resolved across loadfiles.
See Global Scope, Import and Export
on page 4-3.
-call_shared
Create a program. See Choosing to Create a Program or a DLL on page 2-3.