Menu

#39 Sun Studio 12 cc: -xarch=v9 deprecated

v3.8beta
open
5
2008-10-30
2008-10-29
Anonymous
No

In Sun Studio 12, the -xarch=v9 setting has been deprecated and replaced with "-m64". Using -xarch=v9 elicits a warning:

cc: Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs

As a result of this, the separate sparcv7/ and sparcv9/ binaries are no longer generated, since the configure script things -xarch=v9 is not supported.

Discussion

  • William LeFebvre

    Thanks for the note. I will get a fix in to the next beta. At least the new flag is consistent with gcc.

     
  • William LeFebvre

    • assigned_to: nobody --> wnl
     
  • Matt Selsky

    Matt Selsky - 2009-01-19

    Sun Studio 12 cc on Solaris 10 x86_64 also gives a similar warning:

    configure:6171: checking whether compiler accepts -xarch=amd64
    configure:6199: cc -o conftest -m64 -xarch=amd64 conftest.c -lm -ltermcap -lkvm -lkstat -lelf >&5
    cc: Warning: -xarch=amd64 is deprecated, use -m64 to create 64-bit programs
    configure:6205: $? = 0

     

Log in to post a comment.