On 11/16/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using gcc-4.0.1 on both a UltraSparc3 and UltraSparc3cu systems. When > I compile code on the UltraSparc3 system using -mcpu=ultrasparc3 and run > the file command on the executable I get > > hello: ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ > Required, UltraSPARC1 Extensions Required, dynamically linked, not > stripped
First, this question is more suited to gcc-help mailinglist. Second, the switch you want to use is -march=ultrasparc3 which changes the used instruction-set. -mcpu only tunes for ultrasparc3 without using instructions that are not available for the default cpu used. Richard.