title: Linux claiming android (arm-eabi-gcc) is not present when it is clearly there
body: <p>So I just trying to build a library using the NDK.  I believe that the Android.mk and Application.mk files are correct, but whether they are or not is irrelevant.</p>
  
  <p>when executing <code>make APP=hello</code> within the NDK directory</p>
  
  <blockquote>
    <p>Android NDK: Building for application 'hello'<br>
    make: ./build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-gcc: Command not found<br>
    Compile thumb  : hello &lt;= apps/ssa/project/jni/hello/*.c<br>
    /bin/sh: ./build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-gcc: not found<br>
    make: *** [out/apps/ssa/armeabi/objs/hello/hello/*.o] Error 127  </p>
  </blockquote>
  
  <p>So from here I decided to go look and see where the file was.</p>
  
  <p><code>cd build/prebuild/linux-x86/arm-eabi-4.4.0/bin/</code></p>
  
  <p>The output of <code>ls -l</code> clearly shows the file to exist:</p>
  
  <pre><code>...
  -rwxr-xr-x 1 bpescato bpescato  238680 2010-05-03 18:24 arm-eabi-g++
  -rwxrwxrwx 1 bpescato bpescato  234520 2010-08-20 09:27 arm-eabi-gcc
  -rwxr-xr-x 1 bpescato bpescato  234520 2010-05-03 18:24 arm-eabi-gcc-4.4.0
  ...
  </code></pre>
  
  <p>So I next try to simply execute it and allow it tell me the usage:</p>
  
  <blockquote>
    <p>$ ./arm-eabi-gcc</p>
    
    <p>bash: ./arm-eabi-gcc: No such file or directory</p>
  </blockquote>
  
  <p>Then, just to make sure I'm not crazy:</p>
  
  <blockquote>
    <p>$ less arm-eabi-gcc</p>
    
    <p>"arm-eabi-gcc" may be a binary file.  See it anyway? </p>
  </blockquote>
  
  <p>Sure enough, viewing the file displays a whole lot of binary data which is clearly present and on disk.</p>
  
  <p>Does anyone have any idea what is going on?</p>