安装GCC出现的问题
[wonxlei@localhost gcc-build]$ ../gcc-4.2.0/configure –prefix=/usr/local/gcc-4.2.0 –enable-threads=posix –disable-checking –enable–long-long –host=i386-redhat-linux –with-system-zlib –enable-languages=c,c++
creating cache ./config.cache
checking host system type… i386-redhat-linux-gnu
checking target system type… i386-redhat-linux-gnu
checking build system type… i386-redhat-linux-gnu
checking for a BSD compatible install… /usr/bin/install -c
checking whether ln works… yes
checking whether ln -s works… yes
checking for gcc… no
checking for cc… no
configure: error: no acceptable cc found in $PATH
请指点, thank you!
找rpm或别的二进制的包安装
编译gcc需要gcc或cc,而你的电脑里面没有
安装cc这个软件
这么细心,,技持一下楼上的楼上!!