Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

User Commands (d - f) ecobol(1)
-O [ optlevel ] Species the optimization level to be used for the program le using one of the
following values:
0 Species an OPTIMIZE 0 ECOBOL compiler directive
1 Species an OPTIMIZE 1 ECOBOL compiler directive
2 or no optlevel value
Species an OPTIMIZE 2 ECOBOL compiler directive
If a -O ag is not specied, an OPTIMIZE 1 ECOBOL compiler directive is
specied.
-o outfile Uses the pathname outle instead of the default pathname a.out for the executable
le produced.
-s Strips symbolic and other information not required for proper execution from
object and executable les. If both the -g and -s ags are used, symbolic informa-
tion is kept in the object les but is stripped from the executable le. Do not
specify the -s and -Wsql ags in the same ecobol invocation.
-Wansistreams
Generates a program that opens text les as le code 180 les instead of le code
101 (EDIT) les when a program is compiled for the Guardian environment and
includes C or C++ modules compiled with the c89 ag -Wsystype=guardian.
(By default Guardian C or C++ modules open text les as le code 101 les.)
This ag is ignored if -Wsystype=oss is specied. OSS C or C++ modules can
open text les only as le code 180 les.
-WBdllsonly | -WBdynamic | -WBstatic
Species the type of linking to be performed:
-WBdllsonly Species that the eld linker should limit searches to position-
independent code (PIC) les that are dynamic-link libraries
(DLLs) when resolving the le names specied for the -l and -L
ags.
If a le name is qualied, eld searches for a DLL with that name.
If a lename is unqualied, in each search path, eld rst searches
for a DLL with the le name as specied in the -l or -L ag. If
eld cannot nd a DLL, the le name is unqualied, and the search
path is not in the Guardian le system (/G), then eld prexes lib
and sufxes .so to the le name and searches again. If eld still
cannot nd the DLL, it searches the path again with the same
prex but with .dll as the sufx. For more information on search
paths, see the Finding Libraries subsection of the eld(1) refer-
ence page under DESCRIPTION.
When a DLL cannot be found, eld issues an error message unless
its -allow_missing_libs ag is specied.
The -WBdllsonly, -WBdynamic, and -WBstatic ags are search
control toggles. Multiple ags can be specied in a single eld
invocation; the behavior specied remains in effect until another
ag in the set is specied. Thus, you can search for both DLLs
and archive les for some -l and -L ags and search for just
archive les for others. The default library search control is
-WBdynamic.
527188-004 Hewlett-Packard Company 327