Tells the compiler to produce a dynamic shared object instead of an executable.
IA-32, Intel® 64 architectures
Linux: | -shared |
Mac OS X: | None |
Windows: | None |
None
OFF |
The compiler produces an executable. |
This option tells the compiler to produce a dynamic shared object (DSO) instead of an executable. This includes linking in all libraries dynamically and passing -shared to the linker.
On systems using IA-32 architecture and Intel® 64 architecture, you must specify option fpic for the compilation of each object file you want to include in the shared library.
None
Copyright © 1996-2010, Intel Corporation. All rights reserved.