On Mon, Nov 17, 2008 at 02:01:23PM -0800, Alan Coopersmith wrote:
> No, -m64 indicates "compile in 64-bit mode", not "Use exactly the original v9
> ISA with no later extensions."

Oh, come on.
-xarch=v9 means "compile in LP64 mode using exactly the original v9 isa with no 
later extensions".

-m64 -xarch=generic (which is equivalent to -m64, as -xarch=generic is default)
does just that.

Have a nice day,
  Fedor.

> 
>       -Alan Coopersmith-           alan.coopersmith at sun.com
>        Sun Microsystems, Inc. - X Window System Engineering
> 
> Fedor Sergeev wrote:
> > On Mon, Nov 17, 2008 at 01:14:22PM -0800, Alan Coopersmith wrote:
> >> Is there any replacement for -xarch=v9 to indicate "Don't use any SPARC ISA
> >> extensions so this runs on all sun4u/sun4v machines" that doesn't result in
> >> Sun Studio issuing obnoxious "We obsoleted your flags" warnings for every
> >> file compiled?
> > 
> > -m64
> > 
> > regards,
> >   Fedor.
> > 
> >>    -Alan Coopersmith-           alan.coopersmith at sun.com
> >>     Sun Microsystems, Inc. - X Window System Engineering
> >>
> >> Darryl Gove wrote:
> >>> Hi,
> >>>
> >>> If you're building with Sun Studio 12, then the options we prefer going 
> >>> forward are:
> >>>
> >>> -xarch=generic
> >>> -xarch=sparcvis
> >>> -xarch=sparcvis2
> >>> -xarch=spacfmaf
> >>>
> >>> http://developers.sun.com/sunstudio/documentation/ss12/whatsnew.html
> >>>
> >>> So v9c should not be used.
> >>>
> >>> Regards,
> >>>
> >>> Darryl.
> >>>
> >>>
> >>> James Carlson wrote:
> >>>> Roland Mainz writes:
> >>>>   
> >>>>> usr/src/Makefile.master references the value "v9c" as option for the Sun
> >>>>> Studio compiler...
> >>>>>     
> >>>> A quick google search leads to discussion of SPARC64 VI CPUs,
> >>>> including a reference on this page:
> >>>>
> >>>>   http://developers.sun.com/sunstudio/support/Ccompare.html
> >>>>
> >>>>   
> >>>>> ... but the manpage cc(1) does not reference it. Is this a documentation
> >>>>> bug in cc(1) or something else ?
> >>>>>     
> >>>> The history here seems murky.  CR 6520539 seems to describe the
> >>>> option, but there's nothing I can see in the documentation, and the
> >>>> related CRs for implementing it don't mention it at all.
> >>>>
> >>>>   
> >>> _______________________________________________
> >>> tools-compilers mailing list
> >>> tools-compilers at opensolaris.org
> >>
> >> _______________________________________________
> >> tools-compilers mailing list
> >> tools-compilers at opensolaris.org
> > _______________________________________________
> > tools-compilers mailing list
> > tools-compilers at opensolaris.org
> _______________________________________________
> tools-compilers mailing list
> tools-compilers at opensolaris.org

Reply via email to