Necromant wrote:Libc looks like newlib, but compiled in some weird way so that some things are missing (sscanf, atoi). Has anyone tried building newlib with crosstool? Why do we have to carry around libc.a?
I've added an xtensa patch for newlib to lx106-g++ branch of my crosstool repo, as libc is a prerequisite for libstdc++.
Mentioned that in the g++ thread, got no feedback so far. I've no hardware ATM (damaged my ESP01 trying to attach JTAG to it), so can't check how/if it works.
I will fix whatever issues there anyone would care to report.
Necromant wrote:That leaves us with a smallwer list of essential blobs we have no sources whatsoever:
- libhal.a
This should be rather straightforward. I think I'll do it eventually, probably after cleaning up and upstreaming call0 ABI patches.