Use binutils 2.20.1. Configure gcc:
../configure --prefix=/usr/local/m68k-elf \ --enable-interwork \ --enable-multilib \ --without-headers \ --disable-shared \ --disable-libssp \ --enable-languages=c,c++ \ --verbose \ --with-newlib \ --program-prefix=m68k-elf- \ --with-as=/usr/local/m68k-elf/bin/m68k-elf-as.exe \ --with-ld=/usr/local/m68k-elf/bin/m68k-elf-ld.exe \ --target=m68k-elf \ Error: looking for a compliant stdint.h in stdint.h, checking for uintmax_t... no looking for a compliant stdint.h in inttypes.h, checking for uintmax_t... no looking for a compliant stdint.h in sys/inttypes.h, checking for uintmax_t... no looking for an incomplete stdint.h in stdint.h, checking for uint32_t... no looking for an incomplete stdint.h in inttypes.h, checking for uint32_t... no looking for an incomplete stdint.h in sys/inttypes.h, checking for uint32_t... no looking for u_intXX_t types in sys/types.h, checking for u_int32_t... no looking for u_intXX_t types in inttypes.h, checking for u_int32_t... no looking for u_intXX_t types in sys/inttypes.h, checking for u_int32_t... no checking what to include in include/gstdint.h... stddef.h (using manual detection) checking size of void *... 0 checking size of long... 0 checking size of int... 0 checking size of short... 0 checking size of char... 0 checking for type equivalent to int8_t... /home/ivb/gcc-4.5.0/libstdc++-v3/configure: line 269: retu rn: please: numeric argument required configure: error: no 8-bit type make[1]: *** [configure-target-libstdc++-v3] Error 1 make[1]: Leaving directory `/home/ivb/gcc-4.5.0/build' -- Summary: configure: error: no 8-bit type Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ivbx at bk dot ru GCC build triplet: i686-pc-cygwin GCC host triplet: i686-pc-cygwin GCC target triplet: m68k-unknown-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45084