Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 03-02-2009, 01:42 PM   #1
Registered: Nov 2004
Location: Rochester, New York
Distribution: RHEL7
Posts: 53

Rep: Reputation: 15
GCC in Mixed Environment


I have an environment with both Solaris 8 and Solaris 10 servers. They were all Solaris 8 and for a while now I've been working to get them all up to Solaris 10. I'm starting to run into the problem where enough of the servers are Solaris 10 that I'm building on 10 when I can, but I seem to have having some gcc troubles with open source software such as php. I have a shared /usr/local across all of the servers. I'm wondering if it's best to overwrite the existing /usr/local gcc version 2.95.3 20010315 (release) with gcc 3.4.6 for Solaris 8 from, or to try to build and install gcc 3.4.6 specifically for Solaris 10+ in a separate directory. Are there any gotchas that I should be aware of with either change? I am OK with replacing the current version with a current /usr/local package for Solaris 8 and then overwriting again with a built for Solaris 10 someday when all of the servers have been upgraded.

Old 03-02-2009, 03:10 PM   #2
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,707

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Why aren't you using the gcc version released with Solaris 10 and newer (/usr/sfw/bin/gcc) ?
It doesn't interfere with /usr/local stuff.
Old 03-02-2009, 03:35 PM   #3
Registered: Nov 2004
Location: Rochester, New York
Distribution: RHEL7
Posts: 53

Original Poster
Rep: Reputation: 15
Wow. I did not realize that was there.

That was not in my path and did not show up in a whereis gcc

I'll give that one a shot, thanks!



gcc, solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Incremental backup software for a mixed environment EarthAndAllStars Linux - Server 1 01-27-2009 03:13 PM
Samba as a PDC in a mixed environment jason.rohde Linux - Server 1 07-23-2008 12:12 PM
Kerberos in a mixed environment cygnus-x1 Linux - Security 1 09-22-2006 10:59 AM
Backup Software for mixed environment jedimastermopar Linux - General 2 09-24-2004 03:34 PM
Remote Desktop With Mixed Environment JCScoobyRS Linux - Software 1 02-04-2004 07:16 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 06:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration