We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi Experts,
Does the open source clang compiler supports the ARM architecture ?
I had seen that the ARM Compiler 6 is on LLVM based and it is only trial version I think.
In future any plans to release so, like instead of gcc the clang could be given as open source ?
Hi,
clang compiler already supports ARM architecture. You can download and build clang from Clang - Getting Started if you want. Depending on the application you are developing, you might need libraries and a linker.
The advantage of using ARM Compiler 6 is that it just works and it's professionally supported: you would be productive from day 1.
Ciao,Stefano
Hi Stefano,
Thanks for the reply.
Can you bit elaborate on the master piece of work done on ARM Compiler 6 ?
Is it so tedious to build the clang on own along with the libraries and linker.
I initially thought it will be like GNU tool chain readily available.
Regards,
techguyz
I recommend looking at "The ELCC Embedded Complier Collection" found at http://ellcc.org/
ELLCC (pronounced “elk”) is a project to using clang and the LLVM compiler infrastructure. The primary emphasis of the ELLCC project is to create an easy to use multi-target cross compilation environment for embedded systems. There is ARM support.
ARM Compiler 6 uses clang as a basis for the compiler but it integrates additional patches and optimizations specific to ARM.
It also includes armlink and the libraries for bare-metal development.
Hope this helps.
Cheers,Stefano
Thanks for the insight Stefano.
Cheers,
Techguyz