编译GCC-3.4.3时出现的问题
小弟在编译GCC-3.4.3时,在键入# ../gcc-3.4.3/configure 后报如下的错误
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
../gcc-3.4.3/configure: line 2332: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
config.log中的信息如下:
# less config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:581: checking host system type
configure:602: checking target system type
configure:620: checking build system type
configure:675: checking for a BSD compatible install
请问这是怎么回事。我在baidu上没查到任何有用的信息。 "cc: command not found "
我现在就在编译它,这不是个s循环吗? 如果你没有CC,那你又怎么编译呢? cc就是GCC呀。 link cc to gcc
如果没有 gcc ,那就先找一个 rpm deb 什么的装好。 正在试ing,只是这样太麻烦了。因为依赖关系要装的包一串一串的,所以,想问下有没有什么简单的方法。 apt 或者 yum apt 或者 yum
他不会配置yum阿
页:
[1]