日期:2014-05-16  浏览次数:20568 次

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