-mppc question

Alan Modra amodra@bigpond.net.au
Fri Oct 17 19:53:00 GMT 2003


On Wed, Oct 15, 2003 at 03:43:57PM -0400, Aldy Hernandez wrote:
> Hi folks!
> 
> >From sysdeps/powerpc/powerpc32/Makefile:
> 
>      +cflags += -Wa,-mppc -mpowerpc
>      asm-CPPFLAGS += -Wa,-mppc
> 
> is there a reason we send these switches (particularly -mppc), when
> GCC defaults to sending -mppc?

Get rid of them.  powerpc-linux-as defaults to -mppc, and
powerpc-linux-gcc defaults to -mpowerpc.  If you're somehow using the
wrong assembler then no amount of tweaking flags here will correct all
possible values of "wrong assembler".

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Libc-alpha mailing list