static

Prevents linking with shared libraries.

IDE Equivalent

Windows: None

Linux: Libraries > Link with static libraries

Mac OS X: None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux:

-static

Mac OS X:

None

Windows:

None

Arguments

None

Default

OFF

The compiler links with shared libraries.

Description

This option prevents linking with shared libraries. It causes the executable to link all libraries statically.

Alternate Options

None

See Also


Submit feedback on this help topic

Copyright © 1996-2011, Intel Corporation. All rights reserved.