summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-01-29 06:41:22 +0000
committerbors <bors@rust-lang.org>2016-01-29 06:41:22 +0000
commit7bd87c1f1b8afabcf1bafa14dd13c59f00b4f4be (patch)
tree82aca256e73e12261b52fffb9902f63e08141d62 /src/libstd/sys/unix/stack_overflow.rs
parent53c2933d4406bc43b55d490722bf4ca062ab64eb (diff)
parent63b4639691d3d064218055a63473515aee14f64c (diff)
downloadrust-7bd87c1f1b8afabcf1bafa14dd13c59f00b4f4be.tar.gz
rust-7bd87c1f1b8afabcf1bafa14dd13c59f00b4f4be.zip
Auto merge of #30948 - fabricedesre:rpi2, r=alexcrichton
This adds support for the armv7 crosstool-ng toolchain for the Raspberry Pi 2.

Getting the toolchain ready:
Checkout crosstool-ng from https://github.com/crosstool-ng/crosstool-ng
Build crosstool-ng
Configure the rpi2 target with |ct-ng armv7-rpi2-linux-gnueabihf|
Build the toolchain with |ct-build| and add the path to $toolchain_install_dir/bin to your $PATH

Then, on the rust side:
configure --target=armv7-rpi2-linux-gnueabihf && make && make install

To cross compile for the rpi2,
add $rust_install_path/lib to your $LD_LIBRARY_PATH, then use
rustc --target=armv7-rpi2-linux-gnueabihf -C linker=armv7-rpi2-linux-gnueabihf-g++ hello.rs
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions