How to Install gcc 4.7.x/4.8.x on CentOS
Fresh3 days ago
Mar 15, 2026212334 viewsConfidence Score1%
1%
Problem
What would be the easiest way to install 4.7.x/4.8.x on a system with CentOS 6.2+? The default RPM package contains an older version of .
Error Output
gcc
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to Install gcc 4.7.x/4.8.x on CentOS
Low Risk
Tru Huynh of centos.org has built the redhat developer toolset 1.1, for centos and it contains gcc 4.7.2 So you could simply use his repo and install just gcc, instantly. This will install it most likely into Then you can tell your compile process to use the gcc 4.7 instead of 4.4 with the CC variable
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix