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]

gcc -nostdlib -Wl,--script=xxx but "ld: this linker was not configured to use sysroots"


Hi,

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?

oki,

Steffen


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