Building a Cross Compiler

First, Get binutils-2.14 or earlier. ALL VERSION OF binutils after 2.14 have a bug in the assembler.

  • Then uncompress it, and change to that directory
  • configure --prefix=/usr/local/coldfire --target=m68k-elf
  • make
  • make install
THen add /usr/local/coldfire/bin to the path, and get gcc-core-3.x.x Whatever the latest one is.. Get the core version, that's only the C compiler, you don't need the java compiler or the fortran compiler or anything.

  • Then uncompress it, and change to that directory
  • configure --prefix=/usr/local/coldfire --target=m68k-elf
  • make
  • make install