安装gcc出现的问题
安装rh9.0的时候没有安装gcc不能用光驱安装# ls
boehm-gc COPYING.LIB libiberty Makefile.in
BUGS FAQ libjava missing
bugs.html faq.html libobjc mkdep
ChangeLog fastjar libstdc++-v3 mkinstalldirs
config gcc libtool.m4 move-if-change
config.guessGNATS ltcf-c.sh mt-frag
config.if gnats.html ltcf-cxx.sh README
config-ml.ini686-pc-linux-gnultcf-gcj.sh symlink-tree
config.sub include ltconfig ylwrap
configure INSTALL ltmain.sh zlib
configure.ininstall-sh MAINTAINERS
contrib libf2c maintainer-scripts
COPYING libffi Makefile
# ./configure
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /tmp/gcc-3.2.3 using "mt-frag"
./configure: line 7: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
这是什么意思 第一次安装gcc不能用源码,请下载rpm包安装吧。 哪里有下载? 到www.rpmfind.net搜索gcc
不过你的linuxi光盘上肯定带有gcc,建议先装光盘自带的,把gcc, cpp, libstdc++, glibc等相关包都装上。
页:
[1]