Hello, I'm trying to build a new cross compiler toolchain for ppc-eabi on Solaris 2.9 using binutils 2.17, newlib 1.15 and GCC 3.4.6 as the host compiler. While compiling binutils went just fine, I have a problem building the cross compiler: /vob/apps/xgnu/gcc-SunOS/./gcc/xgcc -B/vob/apps/xgnu/gcc-SunOS/./gcc/ -B/vob/apps/xgnu/SunOS/ppc-eabi/bin/ -B/vob/apps/xgnu/SunOS/ppc-eabi/lib/ -isystem /vob/apps/xgnu/SunOS/ppc-eabi/include -isystem /vob/apps/xgnu/SunOS/ppc-eabi/sys-include -c -DHAVE_CONFIG_H -O2 -g -O2 -I. -I../../../gcc-4.2.1/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat ../../../gcc-4.2.1/libiberty/regex.c -o regex.o ../../../gcc-4.2.1/libiberty/regex.c:51:25: error: sys/types.h: No such file or directory ../../../gcc-4.2.1/libiberty/regex.c:130: warning: function declaration isn't a prototype ../../../gcc-4.2.1/libiberty/regex.c:130: warning: conflicting types for built-in function 'malloc' ../../../gcc-4.2.1/libiberty/regex.c:131: warning: function declaration isn't a prototype ../../../gcc-4.2.1/libiberty/regex.c:158:25: error: strings.h: No such file or directory In file included from ../../../gcc-4.2.1/libiberty/../include/xregex.h:26, from ../../../gcc-4.2.1/libiberty/regex.c:193: ../../../gcc-4.2.1/libiberty/../include/xregex2.h:360: error: expected specifier-qualifier-list before 'size_t' ../../../gcc-4.2.1/libiberty/../include/xregex2.h:447: error: expected declaration specifiers or '...' before 'size_t' ../../../gcc-4.2.1/libiberty/../include/xregex2.h:543: error: expected declaration specifiers or '...' before 'size_t' ../../../gcc-4.2.1/libiberty/../include/xregex2.h:547: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xregerror' ../../../gcc-4.2.1/libiberty/regex.c:196:20: error: ctype.h: No such file or directory [many more output skipped] Configuration is (which is the same as used for a working 3.3.2 version): ../gcc-4.2.1/configure --prefix=/vob/apps/xgnu/SunOS --target=ppc-eabi --enable-languages=c,c++,java --with-gnu-as --with-gnu-ld --with-newlib --disable-shared Any ideas what I need to do to fix this? Thanks... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: dirk.heinrichs@xxxxxxxxxxxxx Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net
Attachment:
signature.asc
Description: This is a digitally signed message part.