Hello, this is probably not a common target :-) I used the following configure parameters: configure --target=pdp11 \ --disable-nls \ --disable-libssp \ --enable-languages=c \ --with-sysroot=$(PREFIX)/newlib-1.17.0/newlib/libc/include \ --with-newlib \ --with-gmp=/opt/csw/ \ --with-mpfr=/opt/csw/ \ --disable-multilib After some minor changes to the gcc sources I have a working xgcc, now buildung libgcc2.c fails: obj-gcc-pdp11-aout-newlib/./gcc/xgcc -B/home/leo/build/toolchain/obj-gcc-pdp11-aout-newlib/./gcc/ -B/home/leo/build/toolchain/pdp11-aout/pdp11-aout/bin/ -B/home/leo/build/toolchain/pdp11-aout/pdp11-aout/lib/ -isystem /home/leo/build/toolchain/pdp11-aout/pdp11-aout/include -isystem /home/leo/build/toolchain/pdp11-aout/pdp11-aout/sys-include -O2 -g -O2 -O2 -g -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -O2 -mfloat32 -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../.././gcc -I../../../gcc-4.3.3/libgcc -I../../../gcc-4.3.3/libgcc/. -I../../../gcc-4.3.3/libgcc/../gcc -I../../../gcc-4.3.3/libgcc/../include -DHAVE_CC_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c ../../../gcc-4.3.3/libgcc/../gcc/libgcc2.c \ cc1: warning: target system does not support debug output cc1: warning: target system does not support debug output cc1: warning: target system does not support debug output ../../../gcc-4.3.3/libgcc/../gcc/libgcc2.c: In function '__muldi3': ../../../gcc-4.3.3/libgcc/../gcc/libgcc2.c:566: internal compiler error: in init_move_cost, at regclass.c:323 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. gmake[2]: *** [_muldi3.o] Error 1 gmake[2]: Leaving directory `/home/leo/build/toolchain/obj-gcc-pdp11-aout-newlib/pdp11-aout/libgcc' gmake[1]: *** [all-target-libgcc] Error 2 gmake[1]: Leaving directory `/home/leo/build/toolchain/obj-gcc-pdp11-aout-newlib' gmake: *** [all] Error 2 Does anyone maintain and build this target? What does libgcc2 do, where can I get more information about how gcc works and the gcc building process? Regards, leo