date
is also off and I now have matched errors on the Cortex :^). Here is a reviewed routine. @lawrie - in this form it is not suitable for c.lib, because it does not take an argument but works on a global var.
@pnru_gitlab Do you know why lcc/bin/libs contains both softfloat and libsoftfloat and why it contains eeprintf? We do not include softfloat and eeprintf in c.lib.
Not sure. I think all the "extras" are test files once used during development and not needed in c.lib (because the final, debugged versions are included already).
I've asked Michael about the origins of his lib and it comes from a student / university project that looked at an optimized MIPS processor. All in all, as you already concluded there does not seem to be much point in keeping in line with "upstream".
ecppack --input ulx3s.config --svf ulx3s.svf
Failed to process input config: unrecognised config entry .sysconfig