nld and noft Manual
nld Options
nld and noft Manual—520384-003
3-3
-allow_missing_libs
-allow_missing_libs
Prevents nld from stopping when it cannot find an archive or SRL specified by -l or -lib
on page 3-7. Instead of stopping, nld issues a warning and continues to process the
input file.
-allow_multiple_mains
Prevents nld from issuing an error message if more than one procedure has the MAIN
attribute.
All “main” procedures are included in the output file, but only the first procedure having
the MAIN attribute is listed as the main entry point in the file header.
-ansistreams
Causes C run-time library functions to create files of type 180 (C binary) instead of type
101(edit).
The type of files created can also be set with the ANSISTREAMS C and C++ compiler
pragma. See the C/C++ Programmer’s Guide for details.
-bdynamic
Causes nld to search for shared run-time libraries (SRLs) and archive files when
resolving -l or -lib
on page 3-7. This is the default.
nld first searches for an SRL. If an SRL cannot be found, nld searches for an archive
file. nld follows this process in each location (a subvolume or directory) it is searching
before moving on to the next location.
-bdynamic can be disabled by -bstatic on page 3-4. Multiple -bdynamic and
-bstatic flags can be specified in a single nld invocation, each one taking effect at
the point at which it appears on the command line. Thus, it is possible to search for
SRLs and archive files for some -l and -lib options and just archive files for others.
-allow_missing_libs
-allow_multiple_mains
-ansistreams
-bdynamic