DJ Delorie <d...@redhat.com> writes:

>> OK, but what's wrong --with-sysroot=/ ?
>
> It should work, it just seems "wrong" for a native compiler to have a 
> sysroot...

I agree that it's a bug, but I'm not sure I think it's the same bug that
you think it is.  Every toolchain has a sysroot, really.  I think it's a
bug that GNU ld only accepts the --sysroot option if configured with
--with-sysroot.  The default sysroot for a native toolchain is /.  That
should be the default even for the unusual case of cross-building a
native toolchain.  Right now it isn't, but the bug is not that the
sysroot is /, it's that the sysroot has to be explicitly specified.

Ian

Reply via email to