This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: -mppc question
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Fri, 17 Oct 2003 08:08:58 +0930
- Subject: Re: -mppc question
- References: <20031015194356.GA11127@redhat.com>
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