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 le. Only the rst
procedure having the MAIN attribute is listed as the main entry point in the le
header.
The default action is to report an error when more than one procedure has the
MAIN attribute.
-ansistreams Species that C run-time library functions create les of le code 180 (C text as
binary) instead of le code 101 (EDIT). The type of les created can also be set
with the ANSISTREAMS C and C++ compiler pragma.
See the C/C++ Programmers Guide for more information.
-bdllsonly | -bdynamic | -bstatic
Tells eld what type of le to look for in each directory when eld searches for the
le names specied for the -l or -lib ags. The three possible values are:
-bdllsonly Tells eld to search only for DLLs when it needs to search for the
le name specied in the -l or -lib ag.
If the le name is unqualied, in each directory searched, eld rst
tries to open a le with the name specied for the -l or -lib ag. If
eld cannot nd a le with the specied name and the searched
directory is not in the Guardian le system (/G), eld prexes lib
and sufxes .so to the le name and attempts to open a le with
that modied name. As its nal attempt to nd the le, eld
attempts to open a le that has the specied name prexed with z
and sufxed with dll.
An error occurs if the opened le does not contain a DLL.
-bdynamic Directs eld to search for DLLs and archive les when it needs to
search for the le name specied in the -l or -lib ag.
If the le name is unqualied, in each directory searched, eld rst
tries to open a le with the name specied for the -l or -lib ag. If
eld cannot nd a le with the specied name and the searched
directory is not in the Guardian le system (/G), eld prexes lib
and sufxes .so to the le name and attempts to open a le with
that modied name. If eld still cannot nd the le and the
searched directory is not in the Guardian le system (/G), it
prexes the specied name with the lib prex but with .a as the
sufx and attempts to open a le with that modied name. As its
nal attempt to nd the le, eld attempts to open a le that has the
specied name prexed with z and sufxed with dll.
An error occurs if:
eld nds a DLL in a le whose name has the form
liblename7.a
eld nds an archive in a le whose name has the form
liblename7.so or zlename7dll
eld nds a linkle rather than a DLL or an archive
358 Hewlett-Packard Company 527188-007