This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

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

-- 
Grant Edwards
grante@visi.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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