|
linux版本:
Red Hat Enterprise Linux Server release 5.1
通过configure编译成功:
../gcc-2.95/configure --prefix=/opt/powerpc-linux --enable-threads=posix --disable-checking --enable--long-long --host=i686-redhat-linux --with-system-zlib --enable-languages=c,c++
但是在make过程中就出现如下错误:
In file included from /usr/include/sys/types.h:270,
from /usr/include/stdlib.h:438,
from ../../gcc-2.95/gcc/frame.c:42:
/usr/include/bits/pthreadtypes.h:69: warning: unnamed struct/union that defines no instances
../../gcc-2.95/gcc/frame.c:55: extra brace group at end of initializer
../../gcc-2.95/gcc/frame.c:55: (near initialization for `object_mutex.__data')
../../gcc-2.95/gcc/frame.c:55: warning: excess elements in struct initializer
../../gcc-2.95/gcc/frame.c:55: warning: (near initialization for `object_mutex.__data')
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/root/gcc-build/gcc'
make: *** [all-gcc] Error 2
请问有没有人知道怎么解决??
谢谢 |
|