ftp://mirrors.kernel.org/gnu/gcc/gcc-4.9.0/gcc-4.9.0.tar.gz
http://gcc.petsads.us/releases/
#cd ../gcc-build-4.9.0
#../gcc-4.9.0/configure --prefix=/usr/local/gcc-4.9.0 --enable-stage1-checking=release --enable-stage1-languages=c,c++,go
#make -j 4
原文地址:http://blog.csdn.net/nyist327/article/details/44496223