Links the GNU libgcc library statically.
Linux: | -static-libgcc |
Windows: | None |
None
OFF |
The compiler links the GNU libgcc library dynamically. |
This option links the GNU libgcc library statically. It is the opposite of option -shared-libgcc.
This option is processed by the icx or icpx command (C++) or the dpcpp command (DPC++) that initiates linking, adding library names explicitly to the link command.
This option is useful when you want to override the default behavior, which causes the library to be linked dynamically.
If you want to use traceback, you must also link to the static version of the libgcc library. This library enables printing of backtrace information.
None