Tells the compiler to use a different linker instead of the default linker, which is ld on Linux and link on Windows.
Linux: | -fuse-ld=keyword |
macOS: | -fuse-ld=keyword |
Windows: | -fuse-ld=keyword |
keyword |
Tells the compiler which non-default linker to use. Possible values are:
|
Linux: ld |
The compiler uses the ld linker by default. |
Windows: link |
The compiler uses the link linker by default. |
This option tells the compiler to use a different linker instead of the default linker, which is ld on Linux and link on Windows.
On Linux, this option is provided for compatibility with gcc.
None