title: Cross compiling for ARM, float32x4_t cannot be resolved
body: <p>I'm trying to cross comple a bunch of C files from <code>SMP Debian 3.2.46-1 i686 GNU/Linux</code> to <code>ARM Coretex-A9</code> platform. <code>Linaro linaro-alip 3.0.35-02828-g5cedf96</code> is running on the ARM board.</p>
  
  <p><strong>Problems</strong></p>
  
  <ol>
  <li><code>&lt;arm_neon.h&gt;</code> is missing.</li>
  <li>NEON data types like <code>float32x4_t</code>, <code>uint32x4_t</code>, <code>float32x4x2_t</code> throws error <em>Type float32x4x2_t could not be resolved</em>.</li>
  </ol>
  
  <p><strong>My attempts</strong></p>
  
  <ol>
  <li><p>I manually <a href="http://www.opensource.apple.com/source/gcc/gcc-5664/gcc/config/arm/arm_neon.h" rel="nofollow noreferrer">downloaded</a> <code>&lt;arm_neon.h&gt;</code> and placed in the same directory as my C files. Also made sure that the compiler options <code>-mfloat-abi=softfp -mfpu=neon</code> are present in the cross compiler toolchain. Now the header file issue is solved. </p></li>
  <li><p>Still the second issue persist. </p></li>
  </ol>
  
  <p>Some of the referred fixes: <a href="https://stackoverflow.com/questions/11228855/header-files-for-simd-intrinsics/22291538#22291538">[1]</a>, <a href="https://stackoverflow.com/questions/22490034/how-do-i-use-arm-neon-intrinsics">[2]</a>.</p>
  
  <p>Could anyone pass some light on this. Thanks in advance.</p>