title: How to cross compile application for 32 bit arm architecture on amd64 system using arm-linux-gnueabihf-g++ in Ubuntu
body: <p>I am new to arm-linuxgnueabihf-g++. I am working on an amd64 machine with Ubuntu 14.04 and having arm-linuxgnueabihf-g++-4.7 installed. I want to cross-compile my application targeting 32-bit arm architecture.</p>
  
  <p>I run command:</p>
  
  <pre><code>arm-linux-gnueabihf-g++ -m32 hello.cpp -o hello.
  </code></pre>
  
  <p>But it gave me the error: arm-linux-gnueabihf-g++: error:</p>
  
  <pre><code>unrecognized command line option ‘-m32’.
  </code></pre>
  
  <p>And seems there is little documentation about arm-linux-gnueabihf-g++ on the Internet. </p>
  
  <p>Can anyone give me some help?</p>