The toolchain for the moxie architecture consists of the following tools:
- the GNU assembler, linker and binary utilities
- GCC, the GNU Compiler Collection
- GDB, the GNU Debugger, including a port of the GDB simulator to the moxie architecture
- QEMU, the Open Source Processor Emulator
- Newlib, a C library for bare-metal embedded software development
Getting and Building the Tools
64-bit x86 DEB and RPM Linux packages for moxie-elf, moxie-rtems and moxiebox tools are available for download. The toolchains are statically linked, and should run on a wide range of distributions, including Ubuntu, Debian, Fedora, CentOS, RHEL, and more. These binaries track upstream development branches and are updated frequently.
For RPMs, simply download and install the repo package here: http://repos.moxielogic.org:7007/MoxieLogic/noarch/moxielogic-repo-latest.rpm
$ rpm -ivh http://repos.moxielogic.org:7007/MoxieLogic/noarch/moxielogic-repo-latest.rpm $ yum install -y moxielogic-moxiebox-gcc moxielogic-moxiebox-gdb $ /opt/moxielogic/bin/moxiebox-gcc moxiebox-gcc: fatal error: no input files compilation terminated.
For DEBs, simply add the apt repo to your system, like so:
$ apt-add-repository http://repos.moxielogic.org:7114/MoxieLogic moxiedev main
$ apt-add-repository http://repos.moxielogic.org:7114/MoxieLogic moxiedev main $ apt-get install -y moxielogic-moxiebox-gcc moxielogic-moxiebox-gdb $ /opt/moxielogic/bin/moxiebox-gcc moxiebox-gcc: fatal error: no input files compilation terminated.
The moxiedev-releng git repo provides scripts and tools required to rebuild these binaries from source.
The RPM repo includes source RPMs from which all of the tools are built. The DEB packages are converted from RPM using alien.