How to change gcc version linux
问题 I have gcc-4.6 & gcc-4.7 both installed on my machine and I made gcc the default compiler. But still I could see 4.6 under "cat /proc/version" but I want 4.7 in place of 4.6. cat /proc/version Linux version 3.2.0-4-rt-686-pae (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP PREEMPT RT Debian 3.2.65-1+deb7u2 How can I change gcc version here from 4.6 to 4.7 ? Any help would be really helpfull for me. Many Thanks. 回答1: As the same problem is mentioned here https:/