Howto biarch compiler default to -m32?
Jakub Jelinek
jakub@redhat.com
Wed Jun 8 09:10:00 GMT 2005
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
More information about the Gcc
mailing list