Skip to content

Building the Toolchain

Dan Schatzberg edited this page May 16, 2013 · 1 revision

In order to build EbbRT for a baremetal target, our custom toolchain must be used. The toolchain can be built from source in the util/toolchain directory of the repository.

Acquiring the Source

The source for the toolchain is not in the actual repository itself, but in other repositories which are included as git submodules. This is because the toolchain source is rather large.

To get the entire toolchain checked out: git submodule update --init

Other Dependencies

The only non standard dependency is on autoconf2.64 This can be installed on a debian or ubuntu machine with: apt-get install autoconf2.64

Building

To actually build, run the build.sh script. Be sure to specify the prefix and any other variables you may want: PREFIX=~/usr/local/cross ./build.sh or CFLAGS=-O3 CXXFLAGS=-O3 ./build.sh

Clone this wiki locally