I'm trying to compile a cross-compiler to use with "nestedvm" (which emulates MIPS binaries) on Debian Linux. The full version of the stable host GCC is "gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)", so I decided to use the closest matching source release to build a cross-compiler. It fails with the followig at the end of the output:
checking size of short... 0 checking for char... no checking size of char... 0 checking for type equivalent to int8_t... configure: error: no 8-bit type /usr/src/gcc-4.1.2/libgfortran/configure: line 9718: exit: please: numeric argument required /usr/src/gcc-4.1.2/libgfortran/configure: line 9718: exit: please: numeric argument required make[1]: *** [configure-target-libgfortran] Error 1 make[1]: Leaving directory `/usr/src/build-gcc' make: *** [all] Error 2 Since the line in question reads { (exit please report a bug); exit please report a bug; }; } , I'm doing just that. I used the following "configure" command to set this up, after merging in all the subdirectories from binutils 2.17: ../gcc-4.1.2/configure --disable-libssp --program-prefix=mips-unknown-elf- --enable-languages=c,fortran --target=mips-unknown-elf -- Summary: no 8-bit type when compiling a cross-compiler for mips Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: davidl at lmert dot com GCC build triplet: i686-linux-elf GCC host triplet: i686-linux-elf GCC target triplet: mips-unknown-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32487