This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: --sysroot-suffix
On Mon, Jan 17, 2005 at 02:46:28PM +0000, Richard Sandiford wrote:
> 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.)
You're right - it won't work without further surgery. Hmm. It should
not be too hard to fix that.
--
Daniel Jacobowitz