This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Howto biarch compiler default to -m32?
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: gcc at gcc dot gnu dot org, Rene Rebe <rene at exactcode dot de>
- Date: Wed, 8 Jun 2005 11:10:25 +0200
- Subject: Re: Howto biarch compiler default to -m32?
- References: <200506080956.37509.rene@exactcode.de> <200506081050.16866.aj@suse.de>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Jun 08, 2005 at 10:50:16AM +0200, Andreas Jaeger wrote:
> On Wednesday 08 June 2005 09:56, René Rebe wrote:
> > Hi all,
> >
> > I did this once in the past but lost my transscript ... What was the
> > recommended way to get a sparc64-gnu-linux (or other biarch) compiler that
> > defaults to -m32? Is there a config or was the way to patch the linux64.h
> > in the arch config dir?
>
> For PowerPC I just add:
> --with-cpu=default32
>
> But I do not know whether this is generic,
It is not generic (yet).
On sparc64-linux, --with-cpu=v7 can be used to create a compiler defaulting
to -m32, but being able to handle -m64 as well.
Jakub