Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Sun Studio 12 - Compiling for 64-bit sparc using 'cc -xarch=v9'

807578Nov 11 2008 — edited Nov 12 2008
Hello,

I am using Sun Studio 12 on a Sun Blade running 64-bit Solaris 10 u3 for sparc. Properties are set for the "Solaris sparc" platform in my projects. I am compiling HDF5 software (http://www.hdfgroup.org/HDF5/release/obtain5.html), and I noticed this in the INSTALL notes:

Similarly, users compiling on a Solaris machine and desiring to
build the distribution with 64-bit support should specify the
correct flags with the CC variable:

$ CC='cc -xarch=v9' ./configure

Does the fact that the platform architecture is set to sparc in the project properties make it unnecessary to specify -xarch=v9 for the CC environment variable, or should I always use $CC='cc -xarch=v9' when compiling on my sparc?

Thank you in advance...

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Dec 10 2008
Added on Nov 11 2008
14 comments
315 views