This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: multiarch proposal


David Miller <davem@davemloft.net> writes:

> From: Goswin von Brederlow <goswin-v-b@web.de>
> Date: Fri, 02 May 2008 18:35:34 +0200
>
>> And, hey look, the ldscript already lists the search paths and they
>> are generated during build. That's where my patch plugs in the new
>> dirs. :)
>
> For linkers like gold, which don't use emulation scripts, you
> will need to find another solution.
>
> Many gcc backends send options to ld to override the search path
> anyways, so really it looks to me like that's where the any such
> changes might need to be.

Small correction, at least from what I see. gcc ADDS to the search
path with -L options. Is does not disable the deafault search path. Is
that even possible without using your own linker script?

As long as gcc (or other user) does not disable the default search
path there is no need to fix gcc.

MfG
        Goswin


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