title: Use ARMCC to compile Android native library
body: <p>I've been working on an Android project which has several native C++ libraries. Compiling and debugging using Eclipse with ADT plugin works well. Obviously Android NDK uses arm-linux-gnueabi-gcc of some version to compile the native libraries.</p>
  
  <p>Since I've been using NEON intrinsics heavily, I would like to try to compile the native libraries with ARM's official compiler <code>armcc</code>. I read everywhere that <code>armcc</code> is supposed to give better optimized code when using intrinsics. So I downloaded the trial version of DS-5 from ARM website, just to try and see whether there's really any speed difference.</p>
  
  <p>The DS-5 seems to be just a modified version of Eclipse that uses the ARMCC toolchain, so I installed the ADT plugin. But when I compile using DS-5, it seems that the code is still generated using <code>gcc</code> rather than <code>armcc</code>.</p>
  
  <p>Do you have any idea how to force DS-5 or Eclipse to build the Android native code using <code>armcc</code>? Or is it possible (and how) to build the static NDK libraries from command line and then replace the libraries in my project, so they get deployed to the testing phone?</p>