Freestanding C++
Any chance of expanding the provided C++ standard library to include the minimal set of headers required by the standard for a freestanding implementation? Or provide built-in support for using libsupc++ with GCC?
STLPort is no longer maintained so is not a viable option. We are also already well served by our own containers etc so we don't really need or want an entire libstdc++ or libc++, or even an embedded specific library like ETL.
As we share code across embedded targets (built with Crossworks) as well as Embedded Linux (GCC) and Windows (MSVC) the lack of full (freestanding) language support means we are limited across all of our codebase because of the lack of this support in Crossworks.
For C++11 this includes the currently missing <type_traits> which is of major interest to us.
For C++20 it will become even more impactful with <compare> and <concepts> being major parts of C++20 that require library support to be used properly. <bit> will also find quite a bit of use I'm sure (it's worth it for bit_cast alone).
Any improvement in this area would be much appreciated.
-
Hello Tim,
have you tried the libcxx Library (à https://www.rowleydownload.co.uk/arm/packages/libcxx_arm.htm)
Together with Crossworks 4.7.3?
Regards
Please sign in to leave a comment.
Comments
4 comments