On Wednesday, 21 June 2017 at 00:50:35 UTC, Mike wrote:
On Tuesday, 20 June 2017 at 13:45:31 UTC, Mike wrote:
[...]
The more I think about this, the more it seems like the best
approach. All this time I've been trying to find a way to
build just enough runtime code to support the features I'm
using, and I've only encountered frustration. It's a shame
that we have to build such a massive amount of infrastructure
just to get a build, only to have the linker strip it all away,
but apparently that's just the way things are.
Forget -betterC and -no-rtti; embrace it all! We might just be
be able to turn this lemon into lemonade afterall.
I'm having a bit of a change of heart (or maybe there's
something in my coffee). I'll be traveling overseas for the
next month, so when I return I'll revisit this and see if it
still appeals to me.
Mike
When iv been using c++ on stm32 I have had to rely on gcsections
to produce a workable binary.
Have a good holiday, ill try as much as I can to improve things
in the mean time 😀