Soc-lm32/lm32-toolchain install the crosscompiler

Aus LaborWiki
Wechseln zu: Navigation, Suche

Getting the Source

Lattice released a patched gcc, binutils and gdb. You can download theese packages from the Lattice homepage but there are some patches needed, to get it running (and compiling).

The lm32 is also part of our LiveCD.

Binary Linux x86 (gcc3.4.6): lm32_linux_i386

Binary Mac OSX (ab 10.4 x86) (gcc3.4.6): lm32_osx_i386

You can get a patched version form our webserver.

Source (gcc3.4.6): lm32-src-patched

All you have to do on a unix machine is:

sudo make

Please notice the liecenses from Lattice.

We have also an Makefile for download and compiling the gcc4.4 toolchain. Checkout.

svn co https://www.das-labor.org/svn/fpga/soc-lm32/tools/gcc-toolchain/