|
各位达人:
我在自己的宿主平台上使用的是ubuntu8.10,32位的。作clfs时(x86_64),在编译binutils时遇到错误,后来把宿主内的gcc-4.3.2换成了gcc-4.1,编译通过,但是当编译gcc-4.3.2的包时,出现错误,如下:
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../gcc-4.3.2/fixincludes -I../include -I../../gcc-4.3.2/fixincludes/../include ../../gcc-4.3.2/fixincludes/fixincl.c
In file included from ../../gcc-4.3.2/fixincludes/fixincl.c:102:
../../gcc-4.3.2/fixincludes/fixincl.x:77: warning: string length '4756' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:232: warning: string length '552' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:277: warning: string length '532' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:321: warning: string length '808' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:407: warning: string length '5139' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:2798: warning: string length '729' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:7947: warning: string length '575' is greater than the length '509' ISO C89 compilers are required to support
cc1: error: unrecognized command line option "-Wno-overlength-strings"
make[2]: *** [fixincl.o] Error 1
make[2]: Leaving directory `/mnt/sdb/packages/gcc-build/fixincludes'
make[1]: *** [all-fixincludes] Error 2
make[1]: Leaving directory `/mnt/sdb/packages/gcc-build'
make: *** [all] Error 2
不知道这个错误如何解决,希望有人知道一下,谢谢了。 |
|