> 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