Passes a linker option directly to the linker.
None
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux: | -Xlinker option |
Windows: | None |
option | Is a linker option. |
OFF |
No options are passed directly to the linker. |
This option passes a linker option directly to the linker.
If -Xlinker,-shared is specified, only -shared
is passed to the linker and no special work is done to ensure proper linkage
for generating a shared object. -Xlinker just
takes whatever arguments are supplied and passes them directly to the
linker.
If you want to pass compound options to the linker, for example "-L $HOME/lib", you must use one of the following methods:
-Xlinker -L -Xlinker $HOME/lib
-Xlinker "-L $HOME/lib"
-Xlinker -L\ $HOME/lib
None
link compiler option
shared compiler option