| |||
| Home > Linker command-line options > --export_dynamic, --no_export_dynamic | |||
If an executable has dynamic symbols, then --export_dynamic exports
all externally visible symbols.
--export_dynamic exports non-hidden symbols
into the dynamic symbol table only if a dynamic symbol table already
exists.
You can use --export_dynamic to produce a
statically linked image if there are no imports or exports.
--no_export_dynamic is the default.