C++ User's Guide

-d(y|n)

Allows or disallows dynamic libraries for the entire executable.

This option is passed to ld.

This option can appear only once on the command line.

Values

-dy

 

-dn

Specifies dynamic linking in the link editor. 

 

Specifies static linking in the link editor. 

Defaults

If no -d option is specified, -dy is assumed.

See also

ld(1), Linker and Libraries Guide