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 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.