I'm trying to build a gcc 3.4.1 cross-compiler that is hosted on i686-pc-linux and generates binaries for sparc-sun-solaris2.8. This is what I've done (all on the linux host): 1. Build NATIVE binutils 2.15: > tar xzf binutils-2.15.tar.gz; cd binutils-2.15; > /u/cham/binutils-2.15/configure --prefix=/pkg/gcc-3.4.1-sparc64/native-binutils --disable-nls --enable-64-bit-bfd && make && make install > cd ..; rm -rf binutils-2.15 2. Build SPARC64 binutils > tar xzf binutils-2.15.tar.gz; cd binutils-2.15; > /u/cham/binutils-2.15/configure --prefix=/pkg/gcc-3.4.1-sparc64 --disable-nls --enable-64-bit-bfd --target=sparc64-elf && make && make install > cd ..; rm -rf binutils-2.15 3. Build SPARC64 gcc > tar xzf gcc-3.4.1.tar.gz; cd gcc-3.4.1; mkdir _build; cd _build > /u/cham/gcc-3.4.1/configure --prefix=/pkg/gcc-3.4.1 --enable-threads --enable-shared --with-ld=/pkg/gcc-3.4.1/native-binutils/bin/ld --with-as=/pkg/gcc-3.4.1/native-binutils/bin/as --with-nm=/pkg/gcc-3.4.1/native-binutils/bin/nm --enable-languages=c,c++ --disable-nls --target=sparc64-elf > make This fails at during the gcc bootstrapping step: --- begin output /bin/ksh /u/cham/gcc-3.4.1/gcc/mkconfig.sh tconfig.h ./xgcc -B./ -B/_TOOLS_/dist/gnu-gcc-3.4.1-binutils-2.15-sparc64-elf/i686-pc-linux2.4/sparc64-elf/bin/ -isystem /pkg/gcc-3.4.1-sparc64/i686-pc-linux2.4/sparc64-elf/include -isystem /pkg/gcc-3.4.1-sparc64/i686-pc-linux2.4/sparc64-elf/sys-include -L/u/cham/gcc-3.4.1/_build/gcc/../ld -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I/u/cham/gcc-3.4.1/gcc -I/u/cham/gcc-3.4.1/gcc/. -I/u/cham/gcc-3.4.1/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time \ -Dinhibit_libc -c /u/cham/gcc-3.4.1/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.o /pkg/gcc-3.4.1-sparc64/native-binutils/bin/as: unrecognized option `-xarch=v8plus' make[2]: *** [crtbegin.o] Error 1 make[2]: Leaving directory `/u/cham/gcc-3.4.1/_build/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/u/cham/gcc-3.4.1/_build/gcc' make: *** [bootstrap] Error 2 --- end output Should I be supplying the SPARC64 binutils to the gcc configure options --with-ld, --with-as, etc.? Or have I done something else incorrectly? Chris