lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Would you mind sharing the steps you followed to build tinycc and
> lua_tcc for Windows?

I use MinGW/MSYS and Lua 5.1.

tinycc:
http://lists.gnu.org/archive/html/tinycc-devel/2006-02/msg00012.html

lua_tcc:

add this target to the lua_tcc makefile
(assuming libtcc.dll is in /usr/local/bin)...

lua_tcc.dll : lua_tcc.o
        gcc -shared -o lua_tcc.dll lua_tcc.o -L/usr/local/bin -ltcc -llua51

then

  make lua_tcc.dll

I installed tcc in /usr/local/bin/tcc and added that directory to my
PATH environment variable.

e