PATCH: --sysroot-suffix
Richard Sandiford
rsandifo@redhat.com
Mon Jan 17 14:47:00 GMT 2005
Daniel Jacobowitz <drow@false.org> writes:
> Apple were interested in using it for native toolchains, however. Plus
> the restriction is one of those things that is awkward to document.
> Can you explain why there was a problem?
I never tried it for native configurations, so I don't know for sure
that there is a problem. But I was worried if we didn't have this
restriction, people would expect passing --sysroot=/foo to a non-
sysrooted toolchain to have exactly the same meaning as configuring
with --with-sysroot=/foo. That isn't going to be true without further
surgery because --with-sysroot affects the default search path. (see
ld/genscripts.sh, for example.)
But to be honest, the main blocker for me is that I don't really know
what --sysroot is supposed to do on a non-sysrooted toolchain. If this
patch does what's required, then great. I've no objection to removing
the error.
Richard
More information about the Binutils
mailing list