title: Cross-compiling Node.js for ARM6 (Raspberry Pi)
body: <p>I'm trying to get node.js v0.7.9 to compile for the raspberry pi, but as node and v8 are quite large, I'm hoping to be able to cross-compile on another more powerful PC. I'm using the linux-x86 <code>arm-bcm2708-linux-gnueabi</code> toolchain from <a href="https://github.com/raspberrypi/tools" rel="noreferrer">https://github.com/raspberrypi/tools</a> and have used them to successfully build other executables for the system.  I ended up setting the CC,CXX,CPP,STRIP,OBJCOPY,etc. variables to the toolchain equivalents in the environmental variables and ran configure with: <code>./configure --dest-cpu=arm --without-snapshot</code> to get the final executable. Copying it over to the system and running it however produces the following error:</p>
  
  <pre><code>Extension or internal compilation error at line 0.
  Segmentation fault
  </code></pre>
  
  <p>However, the segmentation fault doesn't happen for any of the non-javascript tasks like <code>node --version</code> and <code>node --help</code>. Are there any CFLAGS/CXXFLAGS I might be missing causing this problem? Bit confused....</p>