|
|
我的系统是Fedora Core 1
gcc 3.3.3 第一次编译失败...
都打过patch了
编到
make BOOT_LDFLAGS=-static bootstrap
过不去了
出现以下错误,请老鸟帮忙...
/bin/sh ../../gcc-3.3.3/gcc/mkconfig.sh tconfig.h
./xgcc -B./ -B/tools/i686-pc-linux-gnu/bin/ -isystem /tools/i686-pc-linux-gnu/include -isystem /tools/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I. -I. -I../../gcc-3.3.3/gcc -I../../gcc-3.3.3/gcc/. -I../../gcc-3.3.3/gcc/config -I../../gcc-3.3.3/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer \
-c ../../gcc-3.3.3/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
In file included from ../../gcc-3.3.3/gcc/crtstuff.c:62:
../../gcc-3.3.3/gcc/tsystem.h:72:19: stdio.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:75:23: sys/types.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:78:19: errno.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:85:20: string.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:89:20: stdlib.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:90:20: unistd.h: No such file or directory
In file included from include/syslimits.h:7,
from include/limits.h:11,
from ../../gcc-3.3.3/gcc/tsystem.h:93,
from ../../gcc-3.3.3/gcc/crtstuff.c:62:
include/limits.h:122:75: limits.h: No such file or directory
In file included from ../../gcc-3.3.3/gcc/crtstuff.c:62:
../../gcc-3.3.3/gcc/tsystem.h:96:18: time.h: No such file or directory
../../gcc-3.3.3/gcc/crtstuff.c: In function `__do_global_dtors_aux':
../../gcc-3.3.3/gcc/crtstuff.c:277: warning: passing arg 1 of `__deregister_frame_info_bases' discards qualifiers from pointer target type
../../gcc-3.3.3/gcc/crtstuff.c: In function `frame_dummy':
../../gcc-3.3.3/gcc/crtstuff.c:313: warning: passing arg 1 of `__register_frame_info_bases' discards qualifiers from pointer target type
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/mnt/lfs/build/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/lfs/build/gcc-build/gcc'
make: *** [bootstrap] Error 2 |
|