Re: how to use different linker

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/7/06, Kai Ruottu <karuottu@xxxxxxxx> wrote:
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....
thanks for the reply i could not understand the last line can you
please eloborate , yes i do understand ld will search the path , my
question is how to override that and point to a different linker at
link time.

Satya

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux