Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
ecobol(1) OSS Shell and Utilities Reference Manual
-WBdynamic Specifies that the linker utility should use dynamic linking when
searching for libraries specified in subsequent operands of the
form -l library. Dynamic linking is in effect until a -WBstatic
flag is specified. -WBdynamic is the default setting. Refer to the
Differences Between Dynamic and Static Linking subsection
for details.
-WBstatic Specifies that the linker utility should use static linking when
searching for libraries specified in subsequent operands of the
form -l library. Static linking is in effect until a -WBdynamic
flag is specified. -WBdynamic, not -WBstatic, is the default set-
ting. Refer to the Differences Between Dynamic and Static
Linking subsection for details.
You cannot use these flags if you use the -c or -Wnolink flag.
-Wcall_shared | -Wshared
Specifies the kind of linked file that should be created:
-Wcall_shared Directs the compiler to create a position-independent code (PIC)
program loadfile using the eld linker. If you also specify the -c or
-Wnolink flag, the file created is a PIC linkfile instead.
This is the default behavior.
-Wshared Directs the compiler to create a PIC dynamic-link library (DLL)
using the eld linker.
-Wcobol="arg[,... ]"
Passes to the ECOBOL compiler the directives in the argument string enclosed in
quotation marks. If more than one value is specified, they must be separated by
commas without any white space. This string follows any directives generated by
other flags. If you repeat this flag, arguments are passed to the compiler in the
order specified.
-Wcodecov Directs the compiler to create an instrumented object file and to create or add to
an existing SPI file. This flag has an effect only if you also specify either the
-Wtarget=ipf flag or the -Wtarget=tns/e flag.
The first time the -Wcodecov flag is used to compile a program, the compiler
creates a Static Profiling Information (SPI) file. This file is one of the input files
for the Code Coverage tool. If the program is compiled in an OSS directory:
• The default name for the SPI file is pgopti.spi.
• If the default file is not write-accessible, the name of the SPI file created is
tpopti.spi.
• A lock file called pgopti.spl. When compilation is complete, the compiler
deletes this file.
If the program is compiled in a Guardian directory:
• The default name for the SPI file is pgospi.
• If the default file is not write-accessible, the name of the SPI file created is
tpgospi.
3−28 Hewlett-Packard Company 527188-021