building Lua in Microsoft Windows I followed this guide http://lua-users.org/wiki/BuildingLuaInWindowsForNewbies.
In a system configured for 64-bit I thought I could build a 32-bit version of
Lua by providing the option -m32. So I added -m32 option to make variables
MYCFLAGS and MYLDFLAGS in the file build.cmd (step 6 in the guide Building Lua
In Windows For Newbies) doing the following:
Lua for mingw platform, it looks like the archiver is set be the c compiler. Somehow
it must also get the -m32 options. So to build successfully, I also had to do
the small change in src/Makefile.
this might be interesting for someone else. Or maybe someone might be able
to suggest an easier and better way to build a 32-bit version of Lua in Microsoft
Windows configured for 64-bit. I used Lua version 5.4.0.