--export_all, --no_export_all
Controls the export of all global, non-hidden symbols to the dynamic symbols table.
Usage
Use --export_all
to dynamically export all global, non-hidden symbols from
the executable or DLL to the dynamic symbol table. Use --no_export_all
to
prevent the exporting of symbols to the dynamic symbol table.
--export_all
always exports non-hidden symbols into the dynamic symbol
table. The dynamic symbol table is created if necessary.
You cannot use --export_all
to produce a statically linked image because
it always exports non-hidden symbols, forcing the creation of a dynamic segment.
For more precise control over the exporting of symbols, use one or more steering files.
Default
The default is --export_all
for building shared libraries and dynamically linked libraries (DLLs).
The default is --no_export_all
for building applications.