This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Compile SDK11 with ARM Compiler Version 6

I would like to use the latest ARM Compiler Version 6 (armclang) because I need some features of the C++11 language.

Is it possible to use the latest ARM Compiler Version 6 to compile the SDK 11 ? Which flags should we use to be compatible with all macros currently available for GCC and armcc ?

In future SDK releases, will this compiler be officially supported ?

Parents Reply
  • I noticed the same thing when trying -O2 or -O3. -O1 worked fine, anything over this failed (including Os/Oz). I really like clang as a compiler and the features that it provides, and I'll try to push for a deeper investigation of the llvm toolchain internally. Since Keil v5.20/DS-5/SES all have the option to use llvm, it will become more widespread in the near future.

Children
No Data
Related