Skip to content

Instantly share code, notes, and snippets.

@sukso96100
Last active August 29, 2015 14:25
Show Gist options
  • Save sukso96100/64b4022c3b0305883384 to your computer and use it in GitHub Desktop.
Save sukso96100/64b4022c3b0305883384 to your computer and use it in GitHub Desktop.
Node.js for Raspberry Pi Building Script
#!/bin/sh
make clean
export PATH=~/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$PATH
export AR=arm-linux-gnueabihf-ar
export CC=arm-linux-gnueabihf-gcc
export CXX=arm-linux-gnueabihf-g++
export LINK=arm-linux-gnueabihf-g++
./configure --without-snapshot --dest-cpu=arm --dest-os=linux
make -j4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment