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: Cross GCC calls the wrong assembler


On Thu, 21 Jun 2001, Stephen Smith wrote:

> You helped me with this script (Ok, the defaults have changed) to build a cross compiler for the powerPC on a cygwin
> system.   Now I'm trying to build the cross compilers on a redhat 7.1 linux box using the build script below (using the
> built in defaults).
> 
> Once i've built I try the command below and I find that it is trying to use the "as" assembler as opposed to
> powerpc-motorola-elf-as - why?
> 
>       $ powerpc-motorola-elf-gcc -v --help


Don't know what's going on, but please add the following to the configure 
options and rebuild.
  --with-as=/full/path/to/powerpc-motorola-elf-as and

This should solve your problem.

> I assume that this will also cause a gdb build to fail if attempted, correct?

Building cross-gdb shouldn't be using target assembler, so don't see why
it would fail.

Mumit



------
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]