LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 792|回复: 2

进行Chapter 6. 安装基本的系统软件的安装 GCC-3.2时出现错误,请问该如何解决啊

[复制链接]
发表于 2003-11-8 15:27:44 | 显示全部楼层 |阅读模式
进行Chapter 6. 安装基本的系统软件的安装 GCC-3.2时出现下面的错误提示,请问该如何解决啊

I have no name!:/static/src/gcc-3.2# mkdir ../gcc-build &&
> cd ../gcc-build &&
> ../gcc-3.2/configure --prefix=/usr --enable-shared \
>     --enable-threads=posix --with-slibdir=/lib \
>     --enable-__cxa_atexit --enable-clocale=gnu &&
> make bootstrap &&
> make install &&
> ln -s ../usr/bin/cpp /lib &&
> ln -s ../bin/cpp /usr/lib &&
> ln -s gcc /usr/bin/cc
Configuring for a i686-pc-linux-gnulibc1 host.
Created "Makefile" in /static/src/gcc-build using "mh-frag" and "mt-frag"
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.


是说什么CC环境变量没有设置对吧   这个变量在哪里设置?如何设置啊?请教各位大侠!!!!
 楼主| 发表于 2003-11-8 16:14:53 | 显示全部楼层
试了一下 不chroot的时候可以configure可是chroot以后就不行了,是不是第五章的时候出问题了啊????
 楼主| 发表于 2003-11-8 16:32:10 | 显示全部楼层
下载了个lunar的iso 斑竹啊 这个东西怎么用啊  可以刻盘启动么?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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