Chinaunix

标题: 安装gcc的问题 [打印本页]

作者: huzhongliang790    时间: 2005-04-27 10:58
标题: 安装gcc的问题
由于服务器上没有安装编译器,
下了gcc-3.4.1解压后安装出现下面信息 请问如何是什么意思




[root@mobile69 gcc-3.4.1]# ./configure
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
checking for a BSD compatible install... /usr/bin/install -c
./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.
作者: tigerlei    时间: 2005-04-27 11:30
标题: 安装gcc的问题
原因就是你没有gcc
作者: platinum    时间: 2005-04-27 11:41
标题: 安装gcc的问题
哈哈!让我想起了有一次要解压RAR,需要安装WINRAR,好不容易从网上找了一个WINRAR-3.40,结果下载以后发现后缀也是RAR!

哈哈哈哈!!!
作者: yyprick    时间: 2005-04-27 12:20
标题: 安装gcc的问题
是先有鸡还是先有蛋呢?先把个rpm包的来装上吧~!
作者: 采风    时间: 2005-04-27 12:22
标题: 安装gcc的问题
下载rpm包安装




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2