install gcc3.4.0 problem, help
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.
页:
[1]