Intel® C++ Compiler XE 13.1 User and Reference Guides
Tells the compiler to produce a dynamic shared object instead of an executable.
All
Linux: | -shared |
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.
You must specify option fpic for the compilation of each object file you want to include in the shared library.
None