LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 825|回复: 2

configure binutils时出错?

[复制链接]
发表于 2003-12-31 15:39:29 | 显示全部楼层 |阅读模式
当我开始设置binutils-2.14时出现以下错误:
命令行输入
../binutils-2.14/configure --prefix=tools --disable-nls
终端输出
creating cache ./config.cache
checking host system type...i686-pc-linux-gnuoldld
checking target system type...i686-pc-linux-gnuoldld
checking build system type...i686-pc-linux-gnuoldld
../binutils-2.14/configure:line 2206:cc:command not found
***the command 'cc -o conftest -g conftest.c' failed.
***you must set the environment variable cc to a working compiler.

然后,我开始编译:
命令行输入:
make install
终端输出:
make:***no rule to make target 'install'.stop.


请问各位高手,这是什么问题???这种问题如何解决???
发表于 2003-12-31 15:44:44 | 显示全部楼层
../binutils-2.14/configure:line 2206:cc:command not found
***the command 'cc -o conftest -g conftest.c' failed.
你主系统里gcc都没有……
 楼主| 发表于 2003-12-31 15:51:03 | 显示全部楼层
奥,谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表