title: android NDK fatal error: stdio.h: No such file or directory #include <stdio.h>
body: <p>I am trying to build QPSQL driver for my Qt android project in my Archlinux which is failing constantly </p>
  
  <pre><code>configure: error: C preprocessor "/opt/AndroidSDK/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-cpp" fails sanity check
  </code></pre>
  
  <p>So I tried simple hello World Program :-</p>
  
  <pre><code>% /opt/AndroidSDK/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-cpp t.c
  # 1 "t.c"
  # 1 "&lt;built-in&gt;"
  # 1 "&lt;command-line&gt;"
  # 1 "t.c"
  t.c:1:19: fatal error: stdio.h: No such file or directory
   #include &lt;stdio.h&gt;
                     ^
  compilation terminated.
  </code></pre>
  
  <p>This means arm-linux-androideabi-cpp preprocessor is not working , Right ?
  But my other Projects from Qt Creator and Android Studio builds and runs fine</p>
  
  <p>What should I do ? I tried updating NDK to 18 which ended up horribly as they replaced gcc with clang. So I have r17b and latest android SDK .</p>