Hello,
I'm new to arm cortex a9. how good does the compiler support C++11 or C++14 on bare metal? where can i find the latest compiler?
I use Xilinx Zynq 7010 SoC, which comes with a Dual ARM® Cortex™-A9 MPCore™ with CoreSight™. (Zynq-7000 Silicon Devices)
Thanks,
Mike
Hi Mike,
both ARM Compiler 5.05 and ARM Compiler 6.01 partially support C++11 language features.
The specific list of what is supported in ARM Compiler 5.05 can be found here: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0472k/chr1407404265784.html
ARM Compiler 6.01 is based on LLVM/clang so the C++11/C++14 features supported by LLVM/clang 3.5 should be in ARM Compiler 6.01 too: http://clang.llvm.org/cxx_status.html
An important aspect to highlight is that the Rogue Wave Standard C++ Library used by both ARM Compiler 5.05 and ARM Compiler 6.01 does not support C++11/14 functionalities; this means that some of the features dependent on runtime libraries (such as exception) won't work. We are working on this at the moment and we expect to have full support for C++11 in ARM Compiler 6 this year.
ARM Compiler 6.01 fully supports ARMv7-A cores (such as Cortex-A9) and you might find more advantages than disadvantages in using it comparing to GCC: What’s new in ARM Compiler 6.01 Comparison of errors, warnings and diagnostics in ARM Compiler 6
Hope this helps.
Best Regards,
Stefano