::documentation::cross development tools  

Cross Development Tools

If you've ever tried compiling a kernel on your 68k Mac, you probably realize that it may take days to accomplish anything meaningful. Fortunately, cross-compilers are available.

If you are running Debian 9 "Stretch" you can install the latest cross-compiler directly from the package archive:
sudo apt install gcc-m68k-linux-gnu g++-m68k-linux-gnu binutils-m68k-linux-gnu

If you are running Debian 8 "Jessie" or earlier, you can build m68k cross-development tools with the help of the Emdebian project. See also the CrossToolchains and EmdebianToolchain pages in the Debian wiki.

The crosstool-ng project is another good way to build your own toolchain.

You can obtain cross-compiler binaries from but be warned that the GCC 4.6.3 binary at this link is known to have issues when building Linux/m68k.

If you decide to build a cross-compiler yourself, please note that GCC 2.95.2 has been reported to miscompile some things. These issues seem to have been resolved in Debian's compiler sources. But note that this compiler is too old to build kernel releases newer than v2.

Obsolete cross compiler builds have been archived on the FTP site.

Valid HTML 4.01 Transitional Valid CSS! Copyright © 2000-2016 Linux/m68k for Macintosh Project.