Inconsistency in runtime target tool search

2006-02-01 Thread Shantonu Sen
When I build a cross compiler, say from x86_64-unknown-linux-gnu to i386-apple-darwin8.4.1, and have a directory in my PATH with "i386- apple-darwin8.4.1-as" and "i386-apple-darwin8.4.1-ld", it appears that the target-prefixed "ld" is found by collect2, but not the target-prefixed "as" by th

Re: Inconsistency in runtime target tool search

2006-02-02 Thread Paolo Bonzini
As an aside, the cross compiler successfully builds and links target libraries because it uses: [EMAIL PROTECTED]:~/gcc-build$ cat gcc/as #!/bin/sh exec /opt/odcctools/bin/i386-apple-darwin8.4.1-as "$@" [EMAIL PROTECTED]:~/gcc-build$ cat gcc/collect-ld #!/bin/sh exec /opt/odcctools/bin/i386-