AnsweredAssumed Answered

iMX6 Optimal Compiler Flags

Question asked by Rory McLeod on Sep 4, 2013
Latest reply on Mar 3, 2014 by Yixing Kong

We are using an iMX6 based board, and we want to know how to best set the archetecture specific compiler flags.


  • Our builds are using the Linaro toolchain installed with LTIB, currently v 4.6.2.
  • We are using Sabre Lite's and iWave QSeven's until our custom devices are available.


Our current CFLAGS for these boards are:

  • CFLAGS_IMX6 := -march=armv7-a -mfpu=vfpv3 -mfloat-abi=softfp