LinuxSir.cn,穿越时空的Linuxsir!

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

安装gcc是出现错误提示,不解 ,请指教呀!

[复制链接]
发表于 2004-7-1 16:53:31 | 显示全部楼层 |阅读模式
安装gcc是出现错误提示,不解


[root@localhost gcc-3.0]# /home/zhangq/gcc-3.0/configure --prefix=/usr/local/gcc
Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /home/zhangq/gcc-3.0 using "mt-frag"
/home/zhangq/gcc-3.0/configure: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.


请问高手,这是什么原因呢?
发表于 2004-7-1 17:15:08 | 显示全部楼层
因为你系统中没有gcc,所以不能编译安装gcc
 楼主| 发表于 2004-7-1 17:18:52 | 显示全部楼层
hehe ,不好意思,我不了解你的意思,我的系统中要是有了gcc,我就不编译安装了。
 楼主| 发表于 2004-7-1 17:21:35 | 显示全部楼层
我是初级,还请详细说明一下哦,谢谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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