This is a work in progress - it may not work!
- Download pre-compiled cross-compilers from raspberrypi/tools, ensure to get the correct one for your system (e.g. use the hardfp version for Raspbian)
 - Install the compilers in your PATH by editing your 
.profilefile, ensuring to add the /tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin directory. - Download this cross-compile helper script
 - Download the version of node.js source code you want or clone the git repository.
 - Apply this patch (may or may not be required depending if this is fixed upstream or not)
 - Run the cross-compiler helper script, and if compiling for a soft float system, use the HOST envrionmental variable to set the correct HOST prefix, e.g. :
 
HOST=arm-bcm2708-linux-gnueabi ~/crosscompile.sh
- If you are compiling Node.js 0.8.4 or lower, set the following exports:
 
export GYP_DEFINES="armv7=0"
export CCFLAGS='-march=armv6'
export CXXFLAGS='-march=armv6'
- Run configure:
 
./configure --without-snapshot
- Run make
 
make
- Copy the node executable to the Raspberry Pi using scp
 
scp node raspbian:~/bin/node
Be warned: this will take forever.
- Download the version of node.js source code you want or clone the git repository.
 - Apply this patch (may or may not be required depending if this is fixed upstream or not)
 - Run configure:
 
./configure --without-snapshot
- Run make and make install
 
make
make install