Which linker is used by gcc?

How to determine which linker is being used by my gcc?
For example, I have 3 linkers:
2 in one directory, in the same place as for gcc
and another linker in another directory.

+4
source share
1 answer

You can add -Wl,-verbose to your gcc link or use

 gcc -print-prog-name=ld 
+7
source

Source: https://habr.com/ru/post/1432944/


All Articles