Andrew Haley wrote:
> satyaakam goswami writes:
>
> > how can i use a different version of ld than what gcc was built
> > with natively.
>
> We don't support that. Different linkers have different arguments, so
> gcc needs to know which linker it will be using.
>
Maybe the word "different" was wrong and the aim was to ask about
"similar but
another" ld....
In that case the 'gcc -print-search-dirs' will help, the "programs"
search path shows
quite many built-in search directories where that another ld could be
put and it being
found before the native one, usually in '/usr/bin'. But there are also
options/switches
like '-B' to point to some "use this time" linker....