Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
User Commands (d - f) ecobol(1)
-O [ optlevel ] Specifies the optimization level to be used for the program file using one of the
following values:
0 Specifies an OPTIMIZE 0 ECOBOL compiler directive
1 Specifies an OPTIMIZE 1 ECOBOL compiler directive
2 or no optlevel value
Specifies an OPTIMIZE 2 ECOBOL compiler directive
If a -O flag is not specified, an OPTIMIZE 1 ECOBOL compiler directive is
specified.
-o outfile Uses the pathname outfile instead of the default pathname a.out for the executable
file produced.
-s Strips symbolic and other information not required for proper execution from
object and executable files. If both the -g and -s flags are used, symbolic informa-
tion is kept in the object files but is stripped from the executable file. Do not
specify the -s and -Wsql flags in the same ecobol invocation.
-Wansistreams
Generates a program that opens text files as file code 180 files instead of file code
101 (EDIT) files when a program is compiled for the Guardian environment and
includes C or C++ modules compiled with the c89 flag -Wsystype=guardian.
(By default Guardian C or C++ modules open text files as file code 101 files.)
This flag is ignored if -Wsystype=oss is specified. OSS C or C++ modules can
open text files only as file code 180 files.
-WBdllsonly | -WBdynamic | -WBstatic
Specifies the type of linking to be performed:
-WBdllsonly Specifies that the eld linker should limit searches to position-
independent code (PIC) files that are dynamic-link libraries
(DLLs) when resolving the file names specified for the -l and -L
flags.
If a file name is qualified, eld searches for a DLL with that name.
If a filename is unqualified, in each search path, eld first searches
for a DLL with the file name as specified in the -l or -L flag. If
eld cannot find a DLL, the file name is unqualified, and the search
path is not in the Guardian file system (/G), then eld prefixes lib
and suffixes .so to the file name and searches again. If eld still
cannot find the DLL, it searches the path again with the same
prefix but with .dll as the suffix. 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 flag is specified.
The -WBdllsonly, -WBdynamic, and -WBstatic flags are search
control toggles. Multiple flags can be specified in a single eld
invocation; the behavior specified remains in effect until another
flag in the set is specified. Thus, you can search for both DLLs
and archive files for some -l and -L flags and search for just
archive files for others. The default library search control is
-WBdynamic.
527188-003 Hewlett-Packard Company 3−27