staticlib

Invokes the libtool command to generate static libraries.

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux:

None

Mac OS X:

-staticlib

Windows:

None

Arguments

None

Default

OFF

The compiler produces an executable.

Description

This option invokes the libtool command to generate static libraries.

When passed this option, the compiler uses the libtool command to produce a static library instead of an executable when linking.

To build dynamic libraries, you should specify option -dynamiclib or libtool -dynamic <objects>.

Alternate Options

None

See Also


Submit feedback on this help topic

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