This is the mail archive of the gcc-help@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]

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


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)


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