This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFC] Additional targets for powerpc
- From: Paul Brook <paul at codesourcery dot com>
- To: binutils at sources dot redhat dot com
- Cc: Steve Munroe <sjmunroe at us dot ibm dot com>,libc-alpha at sources dot redhat dot com,gcc at gcc dot gnu dot com,binutils at sourceware dot org,autoconf at gnu dot org,Roland McGrath <roland at redhat dot com>
- Date: Thu, 22 Sep 2005 23:44:24 +0100
- Subject: Re: [RFC] Additional targets for powerpc
- References: <OF11BDA2D0.E99C10BD-ON86257084.0077BF90-86257084.007AFAC3@us.ibm.com>
On Thursday 22 September 2005 23:23, Steve Munroe wrote:
> Introduction
>
> It has become increasingly clear that PowerPC processor family needs
> additional (machine) targets for the Linux distributions. At present,
> Linux only has two targets (powerpc32 and powerpc64, powerpc is synonym
> for powerpc32) for PowerPC. These targets only address the two operating
> modes (32- and 64-bit) and don't address the wide range of processor
> families and chips available. With only one target per mode, we are forced
> to compile for a common subset of powerpc instructions and default
> instruction scheduling.
Isn't the --with-cpu= gcc configure option sufficient?
This seems to work for Arm targets, which probably have as much variation as
PPC.
gcc is configured with --with-cpu=whatever or --with-arch=whatever, and
everything else else figures it out from what the compiler.
Paul