Intel® C++ Compiler 16.0 User and Reference Guide
Specifies that a compilation unit is a component of a main program and should not be linked as part of a shareable object.
Not available on Intel® 64 architecture targeting the Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner)
Linux and OS X: | -fminshared |
Windows: | None |
None
OFF |
Source files are compiled together to form a single object file. |
This option specifies that a compilation unit is a component of a main program and should not be linked as part of a shareable object.
This option allows the compiler to optimize references to defined symbols without special visibility settings. To ensure that external and common symbol references are optimized, you need to specify visibility hidden or protected by using the -fvisibility, -fvisibility-hidden, or -fvisibility-protected option.
Also, the compiler does not need to generate position-independent code for the main program. It can use absolute addressing, which may reduce the size of the global offset table (GOT) and may reduce memory traffic.
None