Comment puis-je passer l'option --enable-auto-import
à ld de gcc?Arguments Gcc et ld
1
A
Répondre
2
-Xlinker option
Pass option as an option to the linker. You can use this to supply system-specific
linker options which GCC does not know how to recognize.
7
gcc ... -Wl,--enable-auto-import ...
1
Vous utilisez l'option -Xlinker à pass options to the linker:
$ gcc -Xlinker--enable-auto-import blah...
devrait fonctionner.