Compiling a lightweight Mico32 toolchain

From Milkymist Wiki

Jump to: navigation, search
  • We must build the tools out of their source trees. We create a "build" directory at the top of the source tree, from which we run the build commands.
  • To configure binutils: ../configure --target=lm32-elf --prefix=/usr/mico32
  • To configure gcc: ../configure --target=lm32-elf --prefix=/usr/mico32 --enable-languages="c". You may want to add --disable-libgcc --disable-libssp.