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]

Default linker library search paths


I'm reading this snippet from the linker's man page, describing -L:

      The default set of paths searched (without being specified with -L)
      depends on which emulation mode ld is using, and in some cases also
      on how it was configured.

I have two questions.

1) Is there a way to get this list of default paths

2) Is there any way to get it not to search those paths?

I'm using a cross-linker and am worried that it will happily look for
libraries on the host machine under /usr/lib even though they aren't the
ones I want it to find and won't even be the correct architecture.

  Michael


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