Hi! I'm attempting to build a iWMMXt/Linux EABI toolchain using gcc HEAD. I'm using the target xscale-iwmmxt-linux-gnueabi, I've added support for this target to binutils and built a cross linker etc.
I've proceeded to add a suitable target in config.gcc which supports EABI, xscale and Linux basing it on the existing arm/linux target and replacing the linux-elf.h file with a modified one based on xscale-elf.h which I've called xscale-linux-elf.h. I then attempted to build a stage1 compiler with "--with-abi=iwmmxt --with-cpu=iwmmxt --with-arch=iwmmxt", but as soon as the build tries to run xgcc I get the error below. It looks like it's getting the types wrong, but I'm very new to GCC internals and I'm not sure where to look. /var/tmp/portage/gcc-4.2.0_alpha20060225/work/build/./gcc/xgcc -B/var/tmp/portage/gcc-4.2.0_alpha20060225/work/build/./gcc/ -B/usr/xscale-iwmmxt-linux-gnueabi/bin/ -B/usr/xscale-iwmmxt-linux-gnueabi/lib/ -isystem /usr/xscale-iwmmxt-linux-gnueabi/include -isystem /usr/xscale-iwmmxt-linux-gnueabi/sys-include -O2 -O2 -O2 -pipe -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I/var/tmp/portage/gcc-4.2.0_alpha20060225/work/gcc-4.2-20060225/gcc -I/var/tmp/portage/gcc-4.2.0_alpha20060225/work/gcc-4.2-20060225/gcc/. -I/var/tmp/portage/gcc-4.2.0_alpha20060225/work/gcc-4.2-20060225/gcc/../include -I/var/tmp/portage/gcc-4.2.0_alpha20060225/work/gcc-4.2-20060225/gcc/../libcpp/include -I/var/tmp/portage/gcc-4.2.0_alpha20060225/work/gcc-4.2-20060225/gcc/../libdecnumber -I../libdecnumber -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -Dinhibit_libc \ -c /var/tmp/portage/gcc-4.2.0_alpha20060225/work/gcc-4.2-20060225/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.o In file included from ./tm.h:17, from /var/tmp/portage/gcc-4.2.0_alpha20060225/work/gcc-4.2-20060225/gcc/crtstuff.c:70: /var/tmp/portage/gcc-4.2.0_alpha20060225/work/gcc-4.2-20060225/gcc/config/arm/arm.h:108: warning: integer constant is too large for 'long' type ... snip repetition /var/tmp/portage/gcc-4.2.0_alpha20060225/work/gcc-4.2-20060225/gcc/crtstuff.c:206: warning: integer constant is too large for 'long' type /var/tmp/portage/gcc-4.2.0_alpha20060225/work/gcc-4.2-20060225/gcc/crtstuff.c:207: error: requested alignment is too large /var/tmp/portage/gcc-4.2.0_alpha20060225/work/gcc-4.2-20060225/gcc/crtstuff.c:234: warning: integer constant is too large for 'long' type ... Steve ___________________________________________________________ Yahoo! Photos NEW, now offering a quality print service from just 8p a photo http://uk.photos.yahoo.com