Created
August 21, 2012 13:50
-
-
Save bearice/3415637 to your computer and use it in GitHub Desktop.
Cross Compile NodeJS 0.8.7 on arm [Kindle] On OSX 10.8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export HOST=arm-kindle-linux-gnueabi | |
export CC=$HOST-gcc | |
export CPP=$HOST-g++ | |
export CXX=$HOST-g++ | |
export LD=$HOST-ld | |
export AS=$HOST-as | |
export AR=$HOST-ar | |
export LDFLAGS="-static -static-libgcc -static-libstdc++" | |
export PATH=$PATH:/Volumes/XTools/arm-kindle-linux-gnueabi/bin | |
./configure --prefix=$PWD/out_arm --without-snapshot --with-arm-float-abi=softfp --gdb | |
python tools/gyp_node -f make-linux | |
make && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment