Hi Alan,Really (I know I had it doing it :-) but I made mistake in my copying 
from one screen to another. The configure is --with-sysroot not --sysroot.Here 
is the exact command I used to configure it:../binutils-2.22/configure 
--prefix=/usr --enable-shared --with-sysroot=That is the exact command I was 
using (I double-checked my script -- and playing with it now, the = is 
optional).Sorry for the confusion, my fault of course -- I blame lack of 
caffeine and sleep trouble-shooting this bug :-).Added the list back to the CC 
chain so all can witness my mistake -- uh, see the correction ;-).
- Simon.

> Date: Mon, 21 May 2012 22:35:13 +0930
> From: amo...@gmail.com
> To: sbur...@hotmail.com
> Subject: Re: Suspected bug in binutils / ld (using ver 2.22).
> 
> On Mon, May 21, 2012 at 12:59:28PM +0100, Simon B wrote:
> > 
> > Alan,
> > Actually I can confirm that sysroot support is enabled by the empty 
> > --sysroot= parameter to configure.
> 
> Really?
> 
> $ /src/binutils-2.22/configure --prefix=/usr/local --disable-nls 
> --enable-plugins --build=x86_64-linux --target=x86_64-linux --sysroot=
> configure: error: unrecognized option: `--sysroot='
> Try `/src/binutils-2.22/configure --help' for more information.
> 
> -- 
> Alan Modra
> Australia Development Lab, IBM
                                          
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to