title: cross compile libmodbus for ARM (BeagleBone Black)
body: <p>It's been several days I'm trying to cross-compile libmodbus to use it on my BeagleBone Black under Angstrom. I'm not really comfortable with Linux...
  During the ./configure step, I can't find the good toolchain: I attempted with <code>./configure --host=</code> <code>arm</code>, <code>arm-linux</code>, <code>arm-angstrom-linux-gnueabi</code>, <code>arm-none-linux-gnueabi</code>.</p>
  
  <p>They all gave me the same error during compiling (minGW, Qt4): </p>
  
  <pre><code>error: skipping incompatible /home/ubuntu/Documents/developpement_Qt/Modbus/../libmodbus_arm/libmodbus.a when searching for -lmodbus
  </code></pre>
  
  <p>I even tried with arm-linux-gnueabihf, but the errors were even worse (here just the 2 first):</p>
  
  <pre><code>warning: ld-linux-armhf.so.3, needed by /home/ubuntu/Documents/developpement_Qt/Modbus/../libmodbusARM_linux-gnueabihf/libmodbus.so, not found (try using -rpath or -rpath-link)
  error: /home/ubuntu/Documents/developpement_Qt/Modbus/../libmodbusARM_linux-gnueabihf/libmodbus.so uses VFP register arguments, Modbus does not
  </code></pre>
  
  <p>I'm now completely lost, what am I missing?</p>
  
  <p>Thanks in advance!</p>