This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to use different linker


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....



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]