QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 637|回复: 0

install gcc3.4.0 problem, help

[复制链接]
发表于 2004-5-7 15:21:17 | 显示全部楼层 |阅读模式
read this doc:
http://it.rising.com.cn/newSite/Channels/Safety/SafetyResourse/Safe_Foundation/200404/29-102114974.htm

I've tried installing GCC3.4.0 on my redhat linux9.0 , but every time I go to configure(run:

# ../gcc-3.4.0/configure --prefix=/usr/local/gcc-3.4.0 --enable-threads=posix --disable-checking --enable--long-long --host=i386-redhat-linux --with-system-zlib --enable-languages=c,c++,java

, it messes up

~/Source/objdir# /root/Source/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
/root/Source/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.
~/Source/objdir#

it mentions that "安装之前,系统中必须要有cc或者gcc等编译器,并且是可用的,或者用环境变量CC指定系统上的编译器。如果系统上没有编译器,不能安装源代码形式的GCC 3.4.0。如果是这种情况,可以在网上找一个与你系统相适应的如RPM等二进制形式的GCC软件包来安装使用。"
maybe I had not 编译器, but how to find a 二进制形式的GCC软件包?

how to solve it. now I cant install any software.
thanks for your help.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-25 12:59 , Processed in 0.044657 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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