title: How to crosscompile a hello world C program for ARM
body: <p>I have this simple program with its sources in a 'src' folder and the includes in the 'inc' folder. Normally i compile this with:</p>
  
  <pre><code>gcc -I../inc *.c
  </code></pre>
  
  <p>This leaves 'a.out' as program which works fine on that pc.</p>
  
  <p>But how do i compile this for my BeagleBone Black (ARM)? With this i am thinking about:</p>
  
  <pre><code>gcc (some arguments to crosscompile for arm) -I../inc *.c
  </code></pre>