Beetle 发表于 2003-5-28 15:47:10

装gcc出了问题!!!

$ ./configure
Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /home/beetle/c编译器/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
大家帮帮我啊,是什么问题??好像是没有cc吧??怎么解决啊

mozilla 发表于 2003-5-28 17:14:22

你的系统里原来没有gcc?先装个gcc,安装盘里有

Beetle 发表于 2003-5-28 17:50:56

斑竹是我一时疏忽~~~!安装时忘掉了!!我的MDK9.1是硬盘安装的,我没有找到文件安装列表。

mozilla 发表于 2003-5-29 09:03:02

用命令安装
mkdir a b c
mount -o loop disca.iso a
mount -o loop discb.iso b
mount -o loop discc.iso c (mdk有第三张盘吗)

然后分别进入 a b c,找到gccxxxxx.rpm 目录,用rpm -Uvh gccxxxxx.rpm --force
页: [1]
查看完整版本: 装gcc出了问题!!!