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] |
----- Forwarded message from "William A. Gatliff" <bgat@billgatliff.com> ----- Date: Fri, 24 Jan 2003 12:45:31 -0600 From: "William A. Gatliff" <bgat@billgatliff.com> To: John Breen <jab3@hotmail.com> Subject: Re: Problem building powerpc cross - array too large? Reply-To: bgat@billgatliff.com Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <BAY1-F102IX0gIfF4lW000173e3@hotmail.com>; from jab3@hotmail.com on Fri, Jan 24, 2003 at 02:01:15PM +0000 Status: RO John: I don't know anything about HPPA hosts, but I just ran it here on Linux and it built just fine. I'm a little suspicious about your --target=powerpc-elf-eabi command. I used "powerpc-elf" (well, actually, "ppc-elf"). Here's my configure statement: ../gcc-3.2.1/configure --target=ppc-elf \ --prefix=/home/bgat/H-i686-pc-linux-gnu \ --with-gnu-as --with-gnu-ld --disable-shared \ --without-headers --with-newlib \ --disable-threads --enable-languages=c \ --with-local-prefix=/home/bgat/H-i686-pc-linux-gnu/ppc-elf \ 2>&1 | tee configure-log make all-gcc install-gcc 2>&1 | tee build-bootgcc/make-log HTH, b.g. On Fri, Jan 24, 2003 at 02:01:15PM +0000, John Breen wrote: > I'm trying to build gcc-3.2.1 as a powerpc cross compiler for an embedded > powerpc (no OS). The build is failing with > gcc/config/rs6000/rs6000.h:2517: size of array `rs6000_reg_names' > is too large > > I assume it's a headers problem, but I can't figure out how to set things up > right. I've tried '--without-headers', '--with-headers' pointing to the > newlib headers, and anything else I could think of, but it still fails. > I've searched the archives and couldn't see anyone else complaining about > it, so I imagine it's some stupidity on my part. > > Any suggestions? > > Here are the gritty details: > > --------------------------- > > Error: > /data/ecad_libs/gcc-3.2.1-obj-ppc/gcc/gcc/xgcc > -B/data/ecad_libs/gcc-3.2.1-obj-ppc/gcc/gcc/ -nostdinc > -B/data/ecad_libs/gcc-3.2.1-obj-ppc/gcc/powerpc-elf-eabi/newlib/ -isystem > /data/ecad_libs/gcc-3.2.1-obj-ppc/gcc/powerpc-elf-eabi/newlib/targ-include > -isystem /data/ecad_libs/gcc-3.2.1/newlib/libc/include > -B/data/ecad_libs/gcc-3.2.1-powerpc-elf-eabi/powerpc-elf-eabi/bin/ > -B/data/ecad_libs/gcc-3.2.1-powerpc-elf-eabi/powerpc-elf-eabi/lib/ -isystem > /data/ecad_libs/gcc-3.2.1-powerpc-elf-eabi/powerpc-elf-eabi/include -O2 > -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -isystem ./include -g -DIN_LIBGCC2 > -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../../gcc-3.2.1/gcc > -I../../../gcc-3.2.1/gcc/. -I../../../gcc-3.2.1/gcc/config > -I../../../gcc-3.2.1/gcc/../include -mrelocatable-lib -mno-eabi > -mstrict-align -DL_muldi3 -c ../../../gcc-3.2.1/gcc/libgcc2.c -o > libgcc/./_muldi3.o > In file included from tconfig.h:15, > from ../../../gcc-3.2.1/gcc/libgcc2.c:36: > ../../../gcc-3.2.1/gcc/config/rs6000/rs6000.h:2517: size of array > `rs6000_reg_names' is too large > > --------------------------- > > ./config.guess: hppa2.0-hp-hpux10.20 > > --------------------------- > > xgcc -v (as far as it got): > Using built-in specs. > Configured with: ../../gcc-3.2.1/configure > --prefix=/data/ecad_libs/gcc-3.2.1-powerpc-elf-eabi > --target=powerpc-elf-eabi --with-gnu-as > --with-as=/data/ecad_libs/gcc-3.2.1-powerpc-elf-eabi/bin/powerpc-elf-eabi-as > --with-gnu-ld > --with-ld=/data/ecad_libs/gcc-3.2.1-powerpc-elf-eabi/bin/powerpc-elf-eabi-ld > --with-stabs --enable-altivec --enable-languages=c,c++ --without-headers > --with-newlib > Thread model: single > gcc version 3.2.1 > > Thanks. > -- > John Breen > > > _________________________________________________________________ > The new MSN 8: smart spam protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > ------ > Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com > -- Bill Gatliff Affordable GNU and Linux training and consulting services. http://billgatliff.com ----- End forwarded message ----- -- Bill Gatliff Get real embedded GNU training from a real embedded GNU developer. http://billgatliff.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] |