compiling lua

Hoenir mrmocool at gmx.de
Thu Sep 18 03:14:49 PDT 2008


> The following command:
>     dmc -DLUA_WIN -DWITH_POPEN -olua.exe lua.c @c.lst popen.c
> 
> does produce lua.exe:
> 
Thanks for your answer. Yeah, but I don't want to compile the lua 
interpreter. I want to compile the library into a lib to link it 
statically to my D program. Don't know if this makes a difference.

> And, i think it's a problem within the DMC runtime.
> I used Visual C++ V6, to compile Lua, making sure i am using
> the custom _Popen and _Pclose, and lua.exe works fine.
> ie, the pp.lua program does not terminate in error.
> 
I think so too.


More information about the Digitalmars-d-learn mailing list