title: How to use thrift on arm
body: <p>I'm trying to use thrift for C++ and javascript running on my ARM device, and the project is built on a Linux host machine with a IDE for this ARM device.</p>
  
  <p>My question is that when and how should I use cross compile? </p>
  
  <p>There are two steps possible: </p>
  
  <ol>
  <li>when I install thrift(there is a host config option, but I don't know should I simply put 'arm' or the toolchain).</li>
  </ol>
  
  <p>2 When I generate the source using thrift command with some option.</p>
  
  <p>I'm confused here.</p>
  
  <p>Thanks.</p>