Is it possible to keep, use and then release the compiled code after
the initial compiler instance has been deleted (ie: after tcc_delete).

Actually I strugled with the same problem and found a partial solution:
If you look up the code in libtcc.c, in function tcc_delete is the line
        tcc_run_free(s1);
You have to outcomment this and it will not free the runtime memory; there you 
can also see, what else get's freed.
But you can't free this later on, since s1 gets discarded, and if you dont save 
it somewhere its lost.

Michael

--
______________________________________________________________
Aktuelle Lichtmaschinenkunst

http://mir52.wordpress.com


Glory be to thee Hong Kong


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to