This is the mail archive of the binutils@sources.redhat.com 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]

Re: PATCH: --sysroot-suffix


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


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