Use Intel Shared Libraries
This topic applies to Linux*.
This content is specific to C++; it does not apply to
By default, the
Intel® oneAPIlinks Intel® C++ libraries dynamically. The GNU*/Linux* system libraries are also linked dynamically.
Options for Shared Libraries (Linux*)
shared-inteloption to link Intel®-provided libraries dynamically. This has the advantage of reducing the size of the application binary, but it also requires the libraries to be on the application's target system.
sharedoption instructs the compiler to build a Dynamic Shared Object (DSO) instead of an executable. For more details, refer to the
ldman page documentation.
fpicoption when building shared libraries. It is required for the compilation of each object file included in the shared library.