* gcc -nostdlib -Wl,--script=xxx but "ld: this linker was not configured to use sysroots"
@ 2011-04-29 15:12 Steffen Dettmer
2011-05-24 13:59 ` Nick Clifton
0 siblings, 1 reply; 2+ messages in thread
From: Steffen Dettmer @ 2011-04-29 15:12 UTC (permalink / raw)
To: binutils
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gcc -nostdlib -Wl,--script=xxx but "ld: this linker was not configured to use sysroots"
2011-04-29 15:12 gcc -nostdlib -Wl,--script=xxx but "ld: this linker was not configured to use sysroots" Steffen Dettmer
@ 2011-05-24 13:59 ` Nick Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2011-05-24 13:59 UTC (permalink / raw)
To: Steffen Dettmer; +Cc: binutils
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-24 13:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-29 15:12 gcc -nostdlib -Wl,--script=xxx but "ld: this linker was not configured to use sysroots" Steffen Dettmer
2011-05-24 13:59 ` Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).