-
Notifications
You must be signed in to change notification settings - Fork 35
Downloading the SDK
First, you should create a directory for your build environment, for example ${HOME}/epiphany-sdk
. We will then extract the various parts of the SDK into this build environment, so that the final structure will look something like this:
epiphany-sdk/
gcc/
binutils/
gdb/
newlib/
cgen/
sdk/
epiphany-libs/
These subdirectories can be retrieved from the adapteva github repositories, for example with:
git clone https://github.com/adapteva/epiphany-gcc gcc
.
However, the more convenient method of downloading the sources is to use this script.
wget https://raw.github.com/adapteva/epiphany-sdk/master/download-toolchain.sh
chmod +x download-toolchain.sh
# You can either download them as zip packages(faster)
./download-toolchain.sh
# Or, alternatively, you can clone the github repositories(significantly slower, but simplifies updates)
./download-toolchain.sh --clone
Note: Currently, if you use the script, epiphany-libs will not be downloaded automatically. You will have to additionally perform git clone https://github.com/adapteva/epiphany-libs.git
.
Information about building the SDK can be found on the Building the SDK page.