Skip to content

Instantly share code, notes, and snippets.

Avatar

Brandon Nozaki Miller RIAEvangelist

View GitHub Profile
@Gioyik
Gioyik / nodejs.sh
Last active Oct 20, 2020
Script to cross compile NodeJS for ARMv7
View nodejs.sh
#!/bin/sh -e
#Define our target device
export TARGET_ARCH="-march=armv7-a"
export TARGET_TUNE="-mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb"
#Define the cross compilators on your system
export AR="arm-linux-gnueabi-ar"
export CC="arm-linux-gnueabi-gcc"
export CXX="arm-linux-gnueabi-g++"
You can’t perform that action at this time.