============= log ==================================================== building build/genmodes.o stage1/xgcc -Bstage1/ -B/nix/store/1scqk04307x4fkd0w3bnqm76vr6ms47q-gcc-avr-4.2.4/avr/bin/ -c -g -O2 -g0 -B/nix/store/ih1iqirj22hd35wjz876l4gmsqbizvha-glibc-2.7/lib/ -isystem /nix/store/ih1iqirj22hd35wjz876l4gmsqbizvha-glibc-2.7/include -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.2.4/gcc -I../../gcc-4.2.4/gcc/build -I../../gcc-4.2.4/gcc/../include -I../../gcc-4.2.4/gcc/../libcpp/include -I../../gcc-4.2.4/gcc/../libdecnumber -I../libdecnumber -o build/genmodes.o ../../gcc-4.2.4/gcc/genmodes.c In file included from /nix/store/ih1iqirj22hd35wjz876l4gmsqbizvha-glibc-2.7/include/features.h:354, from /nix/store/ih1iqirj22hd35wjz876l4gmsqbizvha-glibc-2.7/include/stdio.h:28, from ../../gcc-4.2.4/gcc/system.h:41, from ../../gcc-4.2.4/gcc/genmodes.c:22: /nix/store/ih1iqirj22hd35wjz876l4gmsqbizvha-glibc-2.7/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory make[2]: *** [build/genmodes.o] Error 1 make[2]: Leaving directory `/tmp/nix-build-f6hf0p8qkqjd7lpdpsw4jzk2lz9rign3-gcc-avr-4.2.4.drv-0/build/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/tmp/nix-build-f6hf0p8qkqjd7lpdpsw4jzk2lz9rign3-gcc-avr-4.2.4.drv-0/build/gcc' ============= end log ================================================ configure flags were --program-prefix=avr- --target=avr --disable-nls --disable-multilib --enable-languages=c Is there something I've missed ? The same compilation steps finish when not addint --target=avr Sincerly Marc Weber