|
发表于 2003-3-31 19:04:36
|
显示全部楼层
> cd ../gcc-build &&
> ../gcc-3.2/configure --prefix=/static \
> --disable-nls --disable-shared &&
> echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h &&
> make BOOT_LDFLAGS=-static bootstrap &&
> make prefix=$LFS/static install &&
> ln -s gcc $LFS/static/bin/cc
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /static/src/gcc-build using "mt-frag"
../gcc-3.2/configure: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
看这一段又是在第5章的编译方法,而不是第6章里的编译安装方法。
看来我也蒙了。 |
|