My dev host is a x86_64 machine and I am trying to build a cross-compiler for a i386 machine. I was able to successfully build the first stage or bootstrap GCC. However, I'm getting inexplicable errors when doing the final compilation.
My command line is something like this: $ ../gcc-4.0.3/configure --target=$TARGET --prefix=$PREFIX $ make all I have tried with GCC versions 4.0.3 as well as 4.11, with identical results. Here is the error. Any ideas? ../../gcc-4.0.3/fastjar/fastjar.texi:119: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:119: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:119: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:122: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:122: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:122: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:125: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:125: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:125: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:128: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:128: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:128: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:137: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:137: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:137: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:142: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:142: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:142: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:145: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:145: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:145: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:151: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:151: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:151: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:154: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:154: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:154: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:157: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:157: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:157: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:158: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:158: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:158: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:161: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:161: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:161: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:164: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:164: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:164: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:167: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:167: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:167: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:200: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:200: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:200: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:203: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:203: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:203: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:206: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:206: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:206: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:209: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:209: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:209: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:212: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:212: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:212: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:215: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:215: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:215: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:218: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:218: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:218: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:221: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:221: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:221: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:224: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:224: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:224: Misplaced }. ../../gcc-4.0.3/fastjar/fastjar.texi:225: Unknown command `gcctabopt'. ../../gcc-4.0.3/fastjar/fastjar.texi:225: Misplaced {. ../../gcc-4.0.3/fastjar/fastjar.texi:225: Misplaced }. makeinfo: Removing output file `fastjar.info' due to errors; use --force to preserve. make[2]: *** [fastjar.info] Error 1 make[2]: Leaving directory `/home/dallas/crossbuild/build-gcc/gcc- 4.0-4.0.3ds1.orig/gcc-build/fastjar' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/dallas/crossbuild/build-gcc/gcc- 4.0-4.0.3ds1.orig/gcc-build/fastjar' make: *** [all-fastjar] Error 2