Sebastien Loisel wrote:
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.
You might also consider using LLVM or libjit for that purpose.
http://llvm.org/ http://www.gnu.org/projects/dotgnu/
With TCC, yo
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
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;
> }
Olaf Dietrich wrote:
[...]
The simple question is: Is it or has it ever been possible to
compile shared libraries with tcc under linux/unix?
IIRC, the answer is no, because tcc does not generate
position-independent code.
--
David Given
[EMAIL PROTECTED]
___
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 v
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
extern int func(void);
int main(void) {
printf("%