This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: building a biarch compiler on sparc-linux-gnu --with-cpu=v9
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: gcc at gcc dot gnu dot org
- Cc: Aurelien Jarno <aurelien at aurel32 dot net>, Matthias Klose <doko at cs dot tu-berlin dot de>, debian-gcc at lists dot debian dot org, Jakub Jelinek <jakub at redhat dot com>
- Date: Tue, 9 Sep 2008 21:25:29 +0200
- Subject: Re: building a biarch compiler on sparc-linux-gnu --with-cpu=v9
- References: <18630.49228.632064.90602@gargle.gargle.HOWL> <48C6C98E.8030708@aurel32.net>
> v9 means 64 bits. You probably want to use v8plus instead, which
> corresponds to 32-bit instructions on an UltraSparc CPU.
Not necessarily. If you pass -mcpu=v9 to the 32-bit SPARC compiler, it still
emits code which is compliant with the 32-bit ABI.
On Solaris the 32-bit compiler defaults to --with-cpu=v9. On Linux things are
probaby more complicated to set up; Jakub is the resident expert for that.
--
Eric Botcazou