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
According to this post, the ELLCC clang/LLVM based tool chain can target a Xilinx Zynq and also run directly on the hardware if it running Linux. Pre-compiled binaries are available for Linux, Windows, and Mac OS X.
-Rich
stefanocadariorichpennington thanks for the great info.
I will look into it. Is the ARM Compiler 5.05 and ARM Compiler 6.01 available for free without ARM DS?
Where can I find the ELLCC clang/LLVM based tool chain? Is ELLCC clang/LLVM available for bare-metal?
Hi Mike, both ARM Compiler 5.05 and ARM Compiler 6.01 can be downloaded here: http://ds.arm.com/downloads/compilers/ They are not free but you can get an evaluation version by downloading DS-5 http://ds.arm.com/downloads/ and activate a 30-day license. Best Regards, Stefano
thanks for the info.
whats the difference between the ARM Compiler 6.01 (armclang) and clang + llvm + g++?
shouldn't you be able to cross compiler to a arm cortex a9 target using clang as well?
Hi Mike,
ARM Compiler 6 is based on LLVM/clang but it includes proprietary tools like armlink, armasm, fromelf and the ARM C libraries. Everything is thoroughly tested, validated and integrated in DS-5 to keep the high quality standard of ARM products. We also provide commercial support for ARM Compiler to make sure customers are able to extract the best out of the tools or if they find any issue with them.
You can find more information here ARM Compiler 6 | ARM DS-5 Development Studio
It is indeed possible to build code for Cortex-A9 using open source clang but, depending on your application, you would also need linker and libraries.
Hope this helps !
Best Regards,Stefano
You can get the ELLCC tool chain from http://ellcc.org. It is available for various Linux hosts (ARM, Mips, PowerPC, x86) as well as for Windows and Mac OS X hosts. Any of the hosts can compile for any of the targets, including the Cortex-A9. A full set of support utilities and pre-built libraries for all targets are included. Bare metal support is in progress (ELK) with the Cortex-A9 being the furthest along. ELK support for the A9 includes support for everything from very simple thread-less programs, up to and including MMU and simple file system support. All of the ELLCC libraries are included with full source code and have BSD-like non-restrictive licenses.