This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I'm trying to build a cross-compiler for arm-elf hosted on Solaris/SPARC with GCC 3.0.x. Has anyone else done this? I've looked at various FAQs and mailing list archives but all seem targeted at 2.95.x. Building binutils as part of the GCC build process is easy and I can get as, ld, ranlib, and ar built but GCC seems to want ARM-specific headers (--without-headers is equivalent to --with-headers=no which tries to install the headers in the directory 'no'): $ ../configure --with-gnu-as --with-gnu-ld --with-newlib \ --target=arm-elf --enable-languages="c,c++" ... gmake[2]: Entering directory `/opt/build/gcc-3.0.2/objdir/gcc' stage1/xgcc -Bstage1/ -B/opt/TWWfsw/gcc302-arm/arm-elf/bin/ -c -DCROSS_COMPILE -DIN_GCC -DSVR4 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/gengenrtl.c In file included from ../../gcc/gengenrtl.c:23: ../../gcc/system.h:50:19: stdio.h: No such file or directory In file included from ../../gcc/gengenrtl.c:23: ../../gcc/system.h:92:23: sys/types.h: No such file or directory ../../gcc/system.h:94:19: errno.h: No such file or directory ../../gcc/system.h:101:21: string.h: No such file or directory ../../gcc/system.h:102:22: strings.h: No such file or directory ../../gcc/system.h:114:21: stdlib.h: No such file or directory ../../gcc/system.h:123:21: unistd.h: No such file or directory ../../gcc/system.h:127:24: sys/param.h: No such file or directory In file included from ../../gcc/gengenrtl.c:23: ... -- albert chin (china@thewrittenword.com) ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |