troubleshooting Question

Updating GCC on Centos 5.2

Avatar of JimMead
JimMeadFlag for United Kingdom of Great Britain and Northern Ireland asked on
SoftwareLinux Distributions
15 Comments4 Solutions5779 ViewsLast Modified:
I am attempting to update GCC on our CentOS 5.2 server to the latest version as it supports Core2 optimisation, which I intend to use when compiling MySQL.
The server is currently running GCC 4.1.2 20071124 (Red Hat 4.1.2-42), which seems to be latest pre-compiled release for this distro.

I attempted to download and compile the GCC 4.3.3 sources, they seemed to compile (with a few warnings but no errors), but when I ran the test, there were a number of FAILs.
See the code block for how I compiled.

Does anyone has any advice on how I can do this?
tar -zxpf gcc-4.3.3.tar.gz
cd gcc-4.3.3
mkdir mkdist1
cd mkdist1
../configure --enable-threads
make -k check

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 4 Answers and 15 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 4 Answers and 15 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros