On Sat, Jun 21, 2014 at 03:44:27PM +0200, Markus Bergholz wrote:
> ~$ tcc *[^ca].c lgc.c lfunc.c -run lua.c
> Lua 5.2.3  Copyright (C) 1994-2013 Lua.org, PUC-Rio
> >
> 
> 
> So far so good, but how can I compile/create binarys with tcc from lua?
> 
> ~$ tcc *[^ca].c lgc.c lfunc.c
> tcc: error: undefined symbol 'main'
> tcc: error: undefined symbol 'fabs'
...

How about
~$ tcc *[^ca].c lgc.c lfunc.c lua.c -lm -o lua
?

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to