title: "No such file or directory" when running app on linux arm target
body: <p>I have a development kit ( Altera Cyclon V, Cortex A9) and I'm trying to run a simple app on it.
  I'm using cygwin for cross compiling my code for ARM Linux (using soureforge toolchain for Linux ).</p>
  
  <p>Steps : </p>
  
  <ol>
  <li>build within cygwin :  arm-linux-gcc dd.c -s -mcpu=cortex-a9 -s -o ddb</li>
  <li>copy ddb to target and chmod a+x </li>
  <li>running it gives me  "./ddb: No such file or directory" . 
  probably a mismatch between lib\tools but I'm new to Linux ( coming from QNX ). </li>
  </ol>
  
  <p>Target is running :</p>
  
  <pre><code>   root@socfpga:~/altera# cat /proc/version 
     Linux version 3.9.0 (jdasilva@sj-interactive3) (gcc version 4.7.3 20121106 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2012.1
     1-20121123 - Linaro GCC 2012.11) ) #1 SMP Fri Sep 27 22:55:43 PDT 2013
  </code></pre>
  
  <p>File data of my app :</p>
  
  <pre><code> ddb: ELF 32-bit LSB executable, ARM, version 1, dynamically linked (uses shared
   libs), for GNU/Linux 2.6.33, stripped
  </code></pre>
  
  <p>File data of a sample hello_world that runs on target : </p>
  
  <pre><code> hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (use
   s shared libs), for GNU/Linux 2.6.31, BuildID[sha1]=0x2e8fbebd0bdab5897c0c65fb6b
   563f3c34a16eb1, stripped
  </code></pre>
  
  <p>I can see that different DLL are being used ( 2.6.31 vs 2.6.33 ).</p>
  
  <p>How can I solve this?</p>