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: https://repos.moxielogic.org:7007/MoxieLogic/noarch/moxielogic-repo-latest.noarch.rpm
$ rpm -ivh https://repos.moxielogic.org:7007/MoxieLogic/noarch/moxielogic-repo-latest.noarch.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 https://repos.moxielogic.org:7114/MoxieLogic moxiedev main
$ apt-add-repository https://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.