I'm trying to compile treesitter parsers without installing clang or gcc on my phone. Has anyone else managed to do this?
I've tried two approaches so far: tiny C compiler on my phone and cross compiling from my desktop for my phone. I'm running into roadblocks with both. So far the problem has been missing headers.
- With TCC, I'm missing the
wctype.hheader. There may be others, but that's as far as compilation gets. - With the arm toolchain in the termux-packages docker container, it's missing
stdlib.h.