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


On Mon, Jan 17, 2005 at 11:44:41AM +0000, Richard Sandiford wrote:
> Hans-Peter Nilsson <hp@bitrange.com> writes:
> > On Mon, 17 Jan 2005, Richard Sandiford wrote:
> >> I've got some patches to add the --sysroot option that Daniel suggests,
> >> but I've been sitting on them waiting for gcc to enter stage 1 (or for
> >> the 2.16 release process to kick off, whichever was sooner).
> >
> > I don't understand the wait on the binutils patches,
> 
> Well, I was hoping gcc would enter stage 1 before the 2.16 process
> began, and that I could then submit both patches at the same time.
> Seemed easier to justify that way.
> 
> > I do see a problem that this patch seems to require that the
> > tools were configured with --with-sysroot=.
> 
> ...or just plain --with-sysroot...
> 
> > Am I misunderstanding?
> 
> No.
> 
> > If not, can this restriction be lifted?
> 
> I'll leave that as an exercise to the reader ;)  The patch was
> written with cross toolchains in mind, and in my experience,
> you either use sysroots all the time for a particular cross
> toolchain, or you don't use them at all.

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?

-- 
Daniel Jacobowitz


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