-----Original Message-----
From: [EMAIL PROTECTED] on behalf of F. Heitkamp
Sent: Wed 8/17/2005 8:05 AM
To: James E Wilson
Cc: gcc@gcc.gnu.org
Subject: Re: ppc assembler problem
 
On Tue, 16 Aug 2005, James E Wilson wrote:

> F. Heitkamp wrote:
>> ../../gcc-cvs-3-3/gcc//gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
>> /tmp/ccNkOiHW.s: Assembler messages:
>> /tmp/ccNkOiHW.s:3142: Error: Unrecognized opcode: `stvx'
>
> You didn't mention the binutils version or how it was configured.  It

GNU assembler 2.16.91 20050809

Bintutils used the same configure script as what I used for gcc.

I've been reading (googling) up on this problem as it seems I am not the 
first to have it.  The problem also seems quite complicated.

Binutils was configured with (among other options) "--with-cpu=7400" and 
"--enable-altivec".  It can and does compile altivec instructions fine. 
It's just I can't get gcc and xgcc to pass that to the assembler.  I 
thought the "--with-cpu" option was supposed to do that? i.e. default to a 
particular cpu. Looking at the specs file for the host compiler the 
default is -mppc.  When I gave the "--with-cpu=7400" shouldn't that have 
made the default  -m7400?.   What about xgcc, how can I make that use the 
7400 cpu?

Maybe I'll also ask folks on the binutils mailing list.

<****   ernesto  ******************>
Also, try the crossgcc mailing list
<******* ernesto ******************>




> There is a TARGET_LIBGCC2_CFLAGS that is used when compiling libgcc2
> instead of the normal CFLAGS_FOR_TARGET.  You could add extra -m options
> here.  That would solve your immediate problem, but you still would have
> a mismatch between gcc and binutils.

It didn't work for me but I could have something else preventing it from 
working.

Fred

Reply via email to