Hi Experts,
I am using arm none-eabi version 4.5.1 for code compilation.
Is it recommended to upgraded to Clang + LLVM compiler ?
How far it is matured for bare metal code (cortex M and R profiles) ?
Which one is good for baremetal C++ code development ? GCC or LLVM + Clang ?
Clang current doesn't have a mature mechanism to support multilib, namely pre-building and choosing the right static libraries for different targets.
Quality and performance wise we don't have enough info to claim which one is better than another. It will be helpful for users to share their cases showing correctness or performance difference.
Hi Joey,
In long term perspective which one is better for the usage. Also I have use case to have both C++ and C in the bare metal programming. Does LLVM and clang supports C++ as well ?
Clang does support C++. For now I would recommend just use GCC for bare-metal. When LLVM+Clang is more mature for bare-metal development you can try both and conclude which one is better ;)