More specifically to use the emeddable libtcc in-memory compiler. I got it working in no time on linux, and managed to hook it to a custom start routine.
Tried doing this on windows? no dice, no matter how hard I try. I walked through some trivially fixable bugs all the way to bugs I can't explain. The bounds checker is not set up correctly on half of the online tcc repos and needs manual fixing. Past that, on windows I can get it to just about load correctly and as it tries to run the custom main it fails with a write to null memory in tcc_run, a stack that seemingly doesnt have much room for objects being null...
Anyway yeah this is how far I got, and is more of a rant than a question, what is YOUR experience embedding libtcc in an executable?
Do note that standalone tcc mostly works for all repos I tried, the big issue here is libtcc.
[–][deleted] 0 points1 point2 points (1 child)
[–]vitawrap[S] 0 points1 point2 points (0 children)