By default, some of the Intel support and performance libraries are linked statically into an executable. As a result, the library codes are linked into every executable being built. This means that codes are duplicated.
It may be more profitable to link them dynamically.
Options to specify:
Linux* and macOS*: | -shared-intel |
Windows*: | /MDNoteOption /MD affects all libraries, not only the Intel-provided ones. |
Advantages of this method: |
|
Disadvantages of this method: |
|