tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] libtcc feature request


From: Christian
Subject: [Tinycc-devel] libtcc feature request
Date: Wed, 4 Sep 2002 09:22:50 +0200

Would it be possible to implement a interface similart to
       void *dlsym(void *handle, char *symbol); /*from the dynamic
linker*/
for the libtcc like:
       void *tcc_get_symbol(TCCState *s, char *symbol);
and let the compiler output in memory but not actually run the stuff?

       #define TCC_OUTPUT_RUN    0 /*the current 'TCC_OUTPUT_MEMORY'
semantics*/
       #define TCC_OUTPUT_MEMORY 1 /*compile,but don't run*/

so it becomes possible to set up the compiler, run it and query/call the
functions until the context becomes deleted? 
(rationale: i'm working on inline-C in Prolog)


cya Christian

[PS: i'm not subscribed to this list]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]