Hello!
I am interested in using C++ (moving away from C) for developing software for an ARM based system.
C++ is known for creating larger binaries compared to C. Additionally I have to add libstdc++ to the flash file system. The lib is about 900 kByte in size when using a recent version of g++.
Given the above limitations, I wonder if c++/g++ is popular for embedded systems.
I found a website that explains how to get rid of libstdc++ so the binaries are not linked against it any more:
Of course, one has to abandon c++ library functions and STL. Pity, this method has more adverse effects: you also loose the new() operator and exceptions, which is bad :(
Is there a way I can use g++ with a small libstdc++ which includes new() and maybe even exceptions?
Cheers Daniel Kabs