Gcc calling wrong assembler
Victor Kaplansky
victork@mellanox.co.il
Tue Aug 14 07:44:00 GMT 2001
Try to pass '--program-prefix=arm-elf-' to configure.
--
Victor
victork@mellanox.co.il
-----Original Message-----
From: Grant Edwards [ mailto:grante@visi.com ]
Sent: Tuesday, August 14, 2001 4:32 PM
To: David Korn
Cc: crossgcc@sources.redhat.com
Subject: Re: Gcc calling wrong assembler
On Tue, Aug 14, 2001 at 10:10:33AM +0100, David Korn wrote:
> >From: Grant Edwards [ mailto:grante@visi.com ]
> >Sent: 14 August 2001 02:11
>
> >All I want to do is to tell gcc that it should use "arm-elf-as"
> >as the assembler.
[...]
> Did you use the --with-gnu-as and --with-gnu-ld flags when you
> configured the build ?
Yes.
> They should normally take care of this.
AFAICT, arm-elf-gcc will never call "arm-elf-as" (which is what
I was trying to get it to do). It will always call "as". The
directories in which it will look for "as" are (as Jonathan
Larmour) displayed when you do "arm-elf-gcc -print-search-dirs".
Putting an "as" in one of those directories makes things work.
For some reason, I had convinced myself that at some point in
history I had gotten arm-elf-gcc to call arm-elf-as and
therefore only needed the binutils programs installed in one
place instead of two. That is apparently wrong -- you need
binutils binaries installed in two places: in my case:
/usr/local/bin/arm-elf-as
/usr/local/arm-elf-bin/as
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list