c++embedded

C++ compilers for embedded programming


For desktop and server programming in C++, the most commonly used compilers are Microsoft C++ and GCC. What are the most commonly used compilers for embedded programming? Is it most typical to use a version of GCC or are other compilers more popular?


Solution

  • I'm working in embedded development and for most of our targets (ARM cores) we use GCC. For some exotic targets we need to use compilers provided by the manufacturers or 3rd party. The latter tend to provide acceptable support for C, but support for C++ is often poor.

    IMHO the EC++ standard is nothing else than a good excuse for compiler manufacturers to keep their efforts low for C++ support, when it comes to template support (which often is the much better choice over RTTI) this 'standard' is just a bad joke.