This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: building a biarch compiler on sparc-linux-gnu --with-cpu=v9


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]