[Tinycc-devel] linux/unix shared libraries?

2008-04-21 Thread Olaf Dietrich
Hi, The simple question is: Is it or has it ever been possible to compile shared libraries with tcc under linux/unix? Here is a very simple test case: $ cat mylib.c int func(void) { return 12345; } $ cat testlib.c #include stdio.h extern int func(void); int main(void) {

Re: [Tinycc-devel] linux/unix shared libraries?

2008-04-21 Thread Mike Aubury
I'm interested in this one too - including the ability to 'dlopen' the shared library once created... On Monday 21 April 2008 09:11:23 Olaf Dietrich wrote: Hi, The simple question is: Is it or has it ever been possible to compile shared libraries with tcc under linux/unix? Here is a very

Re: [Tinycc-devel] linux/unix shared libraries?

2008-04-21 Thread grischka
Works for me. (on ubuntu 6.02) --- grischka From: Olaf Dietrich: The simple question is: Is it or has it ever been possible to compile shared libraries with tcc under linux/unix? Here is a very simple test case: $ cat mylib.c int func(void) { return 12345; } $ cat

[Tinycc-devel] Introspection

2008-04-21 Thread Sebastien Loisel
Dear TCC, I was eyeing tcc today for a possible little toy experiment, to implement a micro-lisp and using tcc for dynamic code generation. One thing that would be way cool would be to be able to load a DLL or compile a C program to memory, and then list all of its symbols, returning them perhaps