|
How can I compile LPeg on Windows? I have Visual C++ Express 2005.
As an alternative, you can compile it in cygwin with: lpeg.dll: lpeg.c gcc -O2 -c -o lpeg.o lpeg.cgcc -O -shared -o lpeg.dll lpeg.o -I../lua5.1/src -L../lua-5.1/src -llua51 test: test.lua lpeg.dll
test.lua // Niklas