Thanks for this interesting project.
I have built executables using TinyCC 0.9.26 on Darwin8 i386 inside a
(Darwin 8 is the open source core of OSX 10.4 circa 2005, the last
that Apple built easily usable ISOs for)
The trick is to build a single object file with -c, then use objconv to
the ELF to MACHO, and then to use special commands for strip and ld to
build an executable.
I was able to build and run several examples, including Apple's wc.c
An extremely rudimentary description is here
Thanks for reading.
Tinycc-devel mailing list