Nerves Toolchains
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
deprecated
nerves_toolchain_aarch64_unknown_linux_gnueabi
nerves_toolchain_arm_unknown_linux_gnueabihf
nerves_toolchain_armv5tejl_unknown_linux_musleabi
nerves_toolchain_armv6_rpi_linux_gnueabi
nerves_toolchain_ctng
nerves_toolchain_i586_unknown_linux_gnu
nerves_toolchain_mipsel_unknown_linux_musl
nerves_toolchain_x86_64_unknown_linux_gnu
nerves_toolchain_x86_64_unknown_linux_musl
support
.formatter.exs
.gitignore
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
ISSUE_TEMPLATE.md
README.md
RELEASE.md
build_release.sh

README.md

This is an umbrella project for all of the Nerves toolchains.

See the subdirectories for the actual toolchains and the nerves_toolchain_ctng directory for the build scripts.

Canadian cross builds for Raspberry Pi

It's possible to build a toolchain that runs on the Raspberry Pi on x86 Linux. This is called a Canadian-cross. To do so, first clone the Raspberry Pi cross-toolchain:

$ git clone git://github.com/raspberrypi/tools.git

Then run a toolchain build as follows:

$ export HOST_OS=linux
$ export HOST_ARCH=arm
$ export PATH=<path to tools>/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin
$ ./nerves_toolchain_ctng/build.sh <toolchain>

Canadian cross builds for Windows

$ sudo apt-get install g++-mingw-w64-x86-64

Then

$ export HOST_OS=mingw32
$ ./nerves_toolchain_ctng/build.sh <toolchain>