building a biarch compiler on sparc-linux-gnu --with-cpu=v9
Eric Botcazou
ebotcazou@libertysurf.fr
Tue Sep 9 19:25:00 GMT 2008
> 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
More information about the Gcc
mailing list