4.2.0 RC2 fails to build on host=mingw target=avr Configured as: CFLAGS=-D__USE_MINGW_ACCESS \ ../gcc-$version/configure \ --prefix=$installdir \ --target=$target \ --enable-languages=c,c++ \ --with-dwarf2 \ --enable-win32-registry=WinAVR-$release \ --disable-nls \ --with-gmp=/usr/local \ --with-mpfr=/usr/local \ --enable-doc \ --disable-fixincludes \ --disable-libssp \ 2>&1 | tee $package-configure.log Note that the same configuration successfully builds for 4.1.2. Error: gcc -D__USE_MINGW_ACCESS -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -o cpp.exe gcc.o opts-common.o gcc-options.o cppspec.o \ intl.o prefix.o version.o ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a /c/avrdev/gcc/build/./gcc/xgcc -B/c/avrdev/gcc/build/./gcc/ -B/c/WinAVR-GCC-4.2.0/avr/bin/ -B/c/WinAVR-GCC-4.2.0/avr/lib/ -isystem /c/WinAVR-GCC-4.2.0/avr/include -isystem /c/WinAVR-GCC-4.2.0/avr/sys-include -dumpspecs > tmp-specs mv tmp-specs specs echo | /c/avrdev/gcc/build/./gcc/xgcc -B/c/avrdev/gcc/build/./gcc/ -B/c/WinAVR-GCC-4.2.0/avr/bin/ -B/c/WinAVR-GCC-4.2.0/avr/lib/ -isystem /c/WinAVR-GCC-4.2.0/avr/include -isystem /c/WinAVR-GCC-4.2.0/avr/sys-include -E -dM - | \ sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \ -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \ sort -u > tmp-macro_list /bin/sh ../../gcc-4.2.0-20070430/gcc/../move-if-change tmp-macro_list macro_list echo timestamp > s-macro_list make[2]: *** No rule to make target `../build-i686-pc-mingw32/fixincludes/fixinc.sh', needed by `stmp-fixinc'. Stop. make[2]: Leaving directory `/c/avrdev/gcc/build/gcc' make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory `/c/avrdev/gcc/build' make: *** [all] Error 2
Don't do this: --disable-fixincludes This is the same thing: it hurts when I do this The doctor told you not to do that.
Woops! Thanks for catching that! I forgot I had --disable-fixincludes still in there.