|
From: | Markus Bergholz |
Subject: | Re: [Tinycc-devel] run vs compiling |
Date: | Sat, 21 Jun 2014 16:25:24 +0200 |
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
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Prev in Thread] | Current Thread | [Next in Thread] |