Monthly Archives: January 2013

Lua + Luadec 4 byte float number

I recently needed to build lua/luadec to support 4 byte floats instead of the usual 8 byte doubles for a personal project which proved to be more of a pain than I expected, mainly due to setting up an enviroment in which luadec didn’t kick out 1000+ errors at compile time.

So, in case anyone out there needs to do the same I’ve uploaded the project to the link below. Source and binaries are included, if you need to recompile just load up mingw32 and run these commands.

 cd lua-5.1.4
 cd src
 mingw32-make mingw
 cd luadec