I once did something related to this and can be seen here
https://github.com/mingodad/tinycc/blob/af686a796bda94dc92fc3ad140ef438dafa08950/libtcc.h#L44
and here
https://github.com/mingodad/tinycc/blob/af686a796bda94dc92fc3ad140ef438dafa08950/libtcc.c#L479
.
On 6/6/23 21:50, draco wrote:
Dear TinyCC community,
first: Thanks for all the work that goes into maining tcc all the years,
I'm a regular reader of the mailing list.
I developed a little add-on//patch to TinyCC which I call ziptcc.
It enables tcc to read include files etc from a single zip or even from
it's own exe (if it's a sfx zip).
So, this is kind of self-containing compiler...
You can find the (proof of concept) code on my github:
https://github.com/MichaelMiR01/ziptcc_dev
I appreciate any (most) feedback
Michael
______________________________________________________________
Aktuelle Lichtmaschinenkunst
http://mir52.wordpress.com
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel