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] |
crossgcc@lists.thewrittenword.com wrote: > > 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 1) build the binutils 2) build arm-elf-gcc for C language only --> --enable-languages=c 3) build newlib 4) build arm-elf-gcc for C and C++ --> --enable-languages=c,c++ Regards, Jan
begin:vcard n:Van Belle;Jan tel;work:+32 3 4503297 x-mozilla-html:FALSE org:Alcatel Telecom;Broadband Networking Division version:2.1 email;internet:Jan.Van_Belle@alcatel.be adr;quoted-printable:;;de Villermontstraat 38B=0D=0AB2550 Kontich;;;;Belgium x-mozilla-cpt:;2 fn:Jan Van Belle end:vcard
------ 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] |