Hi, I can run lua with tcc live like that ~$ wget http://www.lua.org/ftp/lua-5.2.3.tar.gz --2014-06-21 12:26:18-- http://www.lua.org/ftp/lua-5.2.3.tar.gz Auflösen des Hostnamen »www.lua.org (www.lua.org)«... 148.251.24.173, 2a01:4f8:201:620f::2001 Verbindungsaufbau zu www.lua.org (www.lua.org)|148.251.24.173|:80... verbunden. HTTP-Anforderung gesendet, warte auf Antwort... 200 OK Länge: 251195 (245K) [application/gzip] In »»lua-5.2.3.tar.gz«« speichern.
100%[=============================================================================================================================>] 251.195 267KB/s in 0,9s 2014-06-21 12:26:20 (267 KB/s) - »»lua-5.2.3.tar.gz«« gespeichert [251195/251195] ~$ tar xf lua-5.2.3.tar.gz ~$ cd lua-5.2.3/src/ ~$ 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' tcc: error: undefined symbol 'sin' tcc: error: undefined symbol 'sinh' tcc: error: undefined symbol 'cos' tcc: error: undefined symbol 'cosh' tcc: error: undefined symbol 'tan' tcc: error: undefined symbol 'tanh' tcc: error: undefined symbol 'asin' tcc: error: undefined symbol 'acos' tcc: error: undefined symbol 'atan' tcc: error: undefined symbol 'atan2' tcc: error: undefined symbol 'ceil' tcc: error: undefined symbol 'floor' tcc: error: undefined symbol 'fmod' tcc: error: undefined symbol 'sqrt' tcc: error: undefined symbol 'pow' tcc: error: undefined symbol 'log' tcc: error: undefined symbol 'log10' tcc: error: undefined symbol 'exp' Any ideas?
_______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
