Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

We have a new (to us) solaris 10 box running on T4 cpus. Our software stack is Perl/Oracle based. We now have to install GCC 4.9. I wish to optimise this for the T4 CPU. I think the following configure will work:

configure --prefix=/app/org/sfw --enable-languages=c,c++ --with-cpu=niagara4

Is there anything else I need to do to get an optimised build for gcc 4.9? Any pitfalls I need to be made aware of?

share|improve this question

1 Answer 1

If you really need to "optimize for T4 CPU" then I would guess that Solaris Studio compiler can create code more accurately optimized for T4 than can GCC. Just a guess. Sun/Oracle repeatedly claim that Solaris Studio creates faster code than does GCC. One can imagine this to be true given that T4 is their own CPU. Dunno.

There will not be a license cost to use Solaris Studio.

Have a look at this: Solaris development host on how to set up a Solaris Development Host with either GCC or Solaris Studio.

Also: Solaris 10 is rather old now. You'll have an easier life (because of the software package repos) if you use Solaris 11. Just my two cents on that one.

share|improve this answer
    
Thanks. The client insist on Solaris 10 I'm afraid. I'll look at the Sun resources you provided. –  Dr.Avalanche May 21 at 6:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.