|
|
进行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环境变量没有设置对吧 这个变量在哪里设置?如何设置啊?请教各位大侠!!!! |
|