Option Type | Default Value | #pragma options | C | C++ |
-flag | - | - | x | x |
Purpose
Tells the linkage editor to create a dynamic library. The compiler will automatically
export all global symbols from the shared object unless you specify which symbols to
export (by using -bE:, -bexport:, -bexpall or -bnoexpall).
If you use -G to create a shared library, the compiler will:
This is a linkage editor (ld) option. Refer to AIX Version 4 Commands Reference for a description of ld command usage and synatx.
List of Batch Compiler Options and Their Defaults
Options that Define the Compiler Object Code Produced
Equivalent Batch Compile-Link and Incremental
Build Options