QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 856|回复: 5

求救:我想装gcc, 可...

[复制链接]
发表于 2005-7-27 18:52:59 | 显示全部楼层 |阅读模式
我在装很多软件时都提示没有gcc,今天下了个gcc的安装包,结果确是:
[root@localhost gcc-4.0.0]# ./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
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
这可怎么办啊?我要怎么样才能装上gcc和其他软件啊?
谢谢
发表于 2005-7-27 19:20:33 | 显示全部楼层
用非gcc编译方式
回复

使用道具 举报

 楼主| 发表于 2005-7-27 19:22:39 | 显示全部楼层
怎么样用非gcc编译方法啊?能详细说明吗?
回复

使用道具 举报

 楼主| 发表于 2005-7-27 19:38:44 | 显示全部楼层

补充

补充一下,我从redhat网站里下载了gcc-3.2-7的rpm包安装,结果提示没有找到cpp-3.2-7包,于是又下载了cpp包,结果提示说在系统中已经存在了一个更新的cpp包,这让我抓狂!
请高手赶快给予解答啊,真快受不了了!
回复

使用道具 举报

发表于 2005-7-29 14:40:48 | 显示全部楼层
./configure --help看看!
回复

使用道具 举报

发表于 2005-7-29 18:53:25 | 显示全部楼层

Re: 补充

[quote:fe55707b91="river_clock"]补充一下,我从redhat网站里下载了gcc-3.2-7的rpm包安装,结果提示没有找到cpp-3.2-7包,于是又下载了cpp包,结果提示说在系统中已经存在了一个更新的cpp包,这让我抓狂!
请高手赶快给予解答啊,真快受不了了![/quote]那你先装个低的rpm版本的 gcc
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-1 23:44 , Processed in 0.069778 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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