On Tue, 1 Feb 2022, Yair Lenga wrote:
1. Is it possible to use tcc to create shared libraries (.so) that can be
dynamically linked into existing program using dlopen, dlsym ?
yes
2. Does tcc support the ‘cleanup’ variable attribute - to run cleanup function
when variable get out of scope (gif extension).
yes
3. Is it possible to use tcc to introspect variables - make it possible to
print current variables (subset) from the simulation at specific point ? This
is needed to debug the model.
no, but if you are generating the code it should not be difficult to do
this yourself.
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel