读书人

安装GCC出现的有关问题

发布时间: 2012-02-19 19:43:39 作者: rapoo

安装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这个软件
[解决办法]
这么细心,,技持一下楼上的楼上!!

读书人网 >UNIXLINUX

热点推荐