-mcpu=v9 -mvis error on Solaris 8/SPARC with gcc-3.4.3

Albert Chin gcc-help@mlists.thewrittenword.com
Tue Jun 27 16:25:00 GMT 2006


What is the equivalent to the following compiler flags from the Sun C
compiler:
  -xtarget=ultra2 -xarch=v8plusa

I thought it was "-mcpu=v9 -mvis". However, when compiling with this,
I sometimes get the following error:
  /usr/ccs/bin/as: "/var/tmp//ccyYZA91.s", line 35: error: cannot use
  ultrasparc graphic instructions in a non-ultrasparc target binary

Does -mcpu=v9 imply -mvis?

-- 
albert chin (china@thewrittenword.com)



More information about the Gcc-help mailing list