Original Post
Alright, here's the issue: Myself and a friend are working on a game, surprise surprise. We would like to embed scripting and have decided that Lua looks good. My friend enjoys developing in linux. Meanwhile, I am developing in windows. And in the end, we would like to be able to compile it naively for windows. My plan was to base everything on GNU tools and, in that way, maintain a cross-platform codebase using a simple makefile and either DJGPP or MinGW on my end. The problem is that it seems to be highly trivial to install Lua into a POSIX environment for windows such as msys or cygwin, but there seems to be no way that I can find to set it up to work properly with a vanilla windows toolchain that doesn't require an external POSIX dll or some such device to execute the resulting binary. That just seems wrong to me. I have managed to compile Lua under MinGW, but I cannot find a way to install the headers and libraries so that they link properly in a lua-based program. Really, it comes down to this: Does anyone know any good guides or similar material which covers setting up Lua to work with a windows native compiler (I'm pretty sure I'm going to stick with MinGW) that is not an IDE (such as BloodShed's Dev-Cpp because we would like the code to be completely and simply cross-platform)