Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
eld(1) OSS Shell and Utilities Reference Manual
-allow_multiple_mains
Directs eld not to issue an error message if more than one procedure has the
MAIN attribute. All main procedures are included in the output file. Only the first
procedure having the MAIN attribute is listed as the main entry point in the file
header.
The default action is to report an error when more than one procedure has the
MAIN attribute.
-ansistreams Specifies that C run-time library functions create files of file code 180 (C text as
binary) instead of file code 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 more information.
-bdllsonly | -bdynamic | -bstatic
Tells eld what type of file to look for in each directory when eld searches for the
file names specified for the -l or -lib flags. The three possible values are:
-bdllsonly Tells eld to search only for DLLs when it needs to search for the
file name specified in the -l or -lib flag.
If the file name is unqualified, in each directory searched, eld first
tries to open a file with the name specified for the -l or -lib flag. If
eld cannot find a file with the specified name and the searched
directory is not in the Guardian file system (/G), eld prefixes lib
and suffixes .so to the file name and attempts to open a file with
that modified name. As its final attempt to find the file, eld
attempts to open a file that has the specified name prefixed with z
and suffixed with dll.
An error occurs if the opened file does not contain a DLL.
-bdynamic Directs eld to search for DLLs and archive files when it needs to
search for the file name specified in the -l or -lib flag.
If the file name is unqualified, in each directory searched, eld first
tries to open a file with the name specified for the -l or -lib flag. If
eld cannot find a file with the specified name and the searched
directory is not in the Guardian file system (/G), eld prefixes lib
and suffixes .so to the file name and attempts to open a file with
that modified name. If eld still cannot find the file and the
searched directory is not in the Guardian file system (/G), it
prefixes the specified name with the lib prefix but with .a as the
suffix and attempts to open a file with that modified name. As its
final attempt to find the file, eld attempts to open a file that has the
specified name prefixed with z and suffixed with dll.
An error occurs if:
• eld finds a DLL in a file whose name has the form
libfilename7.a
• eld finds an archive in a file whose name has the form
libfilename7.so or zfilename7dll
• eld finds a linkfile rather than a DLL or an archive
3−58 Hewlett-Packard Company 527188-007