Skip to content

Instantly share code, notes, and snippets.

@sturadnidge
Created October 7, 2013 22:51
Show Gist options
  • Save sturadnidge/6876356 to your computer and use it in GitHub Desktop.
Save sturadnidge/6876356 to your computer and use it in GitHub Desktop.
Builds node on ARM chromebook. Slower than cross compiling, but what the hey!
git clone -b v0.10.20-release https://github.com/joyent/node.git
cd node
./configure --prefix=/ --without-snapshot
export BIN_NAME=node-v0.10.20-linux-armv7l-chromebook
mkdir ${BIN_NAME}
make install DESTDIR=${BIN_NAME} V=1 PORTABLE=1
# package
echo "packaging..."
cp README.md ${BIN_NAME}
cp LICENSE ${BIN_NAME}
cp ChangeLog ${BIN_NAME}
tar -cf ${BIN_NAME}.tar ${BIN_NAME}
gzip -f -9 ${BIN_NAME}.tar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment