LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
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.

Notices


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

Rep: Reputation: 15
GCC in Mixed Environment


Hello,

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 sunfreeware.com, 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.

-Raymond
 
Old 03-02-2009, 03:10 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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
popowich
Member
 
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!

-Raymond
 
  


Reply

Tags
gcc, solaris



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

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

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

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