为了支持不同gcc版本的共存,最简单的方法是用--program-suffix选项
(引用gcc FAQ:Another option that may be easier is to use the --program-prefix= or --program-suffix= options to configure. So if you're installing GCC 2.95.2 and don't want to disturb the current version of GCC in /usr/local/bin/, you could do