On Fri, Dec 23, 2005 at 03:50:50PM +0100, Paolo Bonzini wrote:
> 
> >Wait wait wait wait wait.  This is a cross compiler.  Are we mistakenly
> >running $prefix/bin/$target-as, which is a bad version, or are we
> >really running $prefix/bin/as, a program named "as"?  If we're doing
> >that, let's fix that separately - it's a nasty bug!
> >
> Probably my configuration will not match Gunther's exactly but, to test 
> this, I've modified the $prefix/bin directory where I have an 
> arm-none-elf installed toolchain.  I added `as' which is the host tool, 
> and removed `arm-none-elf-as'.  I then configured the toplevel and gcc 
> with --prefix=~/testprefix, and every variable pointing to an 
> AS_FOR_TARGET is pointing to the non-existent (but correct) 
> arm-none-elf-as.  Inside the gcc directory it even pointed to the 
> $prefix/$target/bin/as.

All I can say is that I believe inside the gcc directory the created
"as" script should use "$prefix/$target/bin/as" since that script is
now used by gcc/xgcc. Maybe the same is true for collect-ld.

> Gunther, you did not mention really what your build/host/targets are.

Its a port that I am maintaining privately.

> Could you send me privately the generated gcc/Makefile?

Done. My source version is 108945.

Gunther

Reply via email to