forked from SESA/EbbRT
-
Notifications
You must be signed in to change notification settings - Fork 1
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.
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
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
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