sprintf that use strformat, so there's no need to pull in the newlib implementation. Build system improvements.
Added some replacements for newlib's stdout. Added missing startup code. Some minor fixes.