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: gcc -nostdlib -Wl,--script=xxx but "ld: this linker was not configured to use sysroots"


Hi Steffen,

when linking without stdlib but a custom linker script, why does ld
needs to know anything about a sysroot used to compile gcc?

Is it just because gcc passed unneeded "--sysroot=..." option that
leads to this error, although not needed in case of -nostdlib?

Possibly. Please could you open a bug report for this using the bugzilla system:


http://sourceware.org/bugzilla/

It will really help if you can include a small testcase to reproduce the problem, and if you mention the target architecture for whioch you are trying to create an executable.

Cheers
  Nick


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