This is the mail archive of the binutils@sourceware.org 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: [rfc] using --with-sysroot for native builds


On Fri, Oct 29, 2010 at 04:42:08PM +0200, Matthias Klose wrote:
> the attached patch makes this change in ldmain.c conditionally on
> native/cross.  An alternative would be to make the change
> unconditionally and let the configure fail for a cross build, if
> --with-sysroot is missing in the configure args, or if the value
> passed is `' or `/'.

IMO, a cross linker should default to not using a sysroot, but still
support the --sysroot option...

-- 
Daniel Jacobowitz
CodeSourcery


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