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
are there any other ways to use C++11 C++14 on arm cortex a9 without having Clang / LLVM?
Hello, are there anything inconvenient with Clang/LLVM?
Best regards,
Yasuhiko Koumoto.
i wonder how good the debugging tools are with clang ...are there any disadvantages compared to the standard compiler?
christopherseidl and reinhardkeil can you comment?
Hello mike,
don't you say about the compiler?
Do you want any useful tool chains?
Hello Mike,
I'm not a compiler expert. I suppose this should be answered by stefanocadario.
Kind regards,
Christopher
im looking for different compiler and toolchain options. for two different os hosts: windows 7, linux
Christopher Seidl and Reinhard Keil can you comment?
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
In my experience, CLANG/LLVM is a superior compiler to GCC. Faster compiles, better error messages, more features (e.g. static analysis of your code). LLVM is based on the llvm.org project, which also has better licensing than GCC.