This is the mail archive of the
mailing list for the binutils project.
gcc -nostdlib -Wl,--script=xxx but "ld: this linker was not configured to use sysroots"
- From: Steffen Dettmer <steffen dot dettmer at googlemail dot com>
- To: binutils at sourceware dot org
- Date: Fri, 29 Apr 2011 17:12:25 +0200
- Subject: gcc -nostdlib -Wl,--script=xxx but "ld: this linker was not configured to use sysroots"
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?