site logo  LuA

HomePage | Categories |* BLOG *| RecentChanges | RecentlyCommented | Login/Register

Lua 5.1 Release Candidate

30 March 2007: Old rc1 build but might be useful for building current.


General

So, what is Lua? "Lua is a powerful light-weight programming language designed for extending applications. Lua is also frequently used as a general-purpose, stand-alone language. Lua is free software." At least that is what the Lua website says and other than that I have no idea. My interest was to practice constructing makefiles for compiling a program on OS/2-ECS, NT-XP-2000, and possibly Linux with Open Watcom 1.4.

OS/2 Binaries

The binaries are here. The archive contains:

ilua.lib - Open Watcom import library
lua.dll - Open Watcom dll

lua.exe - Standalone version of lua interpreter
luac.exe - Lua compiler ?? I don't know
Building
First, download the release candidate source which as of 10 Feb 2006 is located here (dead link?). Next, download my archive from here. Unarchive the source into a directory of your choosing and then unarchive my file into the same directory which will create a sub-directory named owatcom.

OS/2

wmake os2
This will compile a static build of lua.exe and luac.exe. Also, lua.lib and lualib.lib are compiled.

wmake os2dll
This will compile lua.exe, luac.exe, and lua.dll. Both executables require the dll to run and an import library is compiled (ilua.lib).

NT

wmake nt
This will compile a static build of lua.exe and luac.exe. Also, lua.lib and lualib.lib are compiled.

wmake ntdll
This will compile lua.exe, luac.exe, and lua.dll. Both executables require the dll to run and an import library is compiled (ilua.lib).

Linux

wmake linux
This will compile a static build of lua.elf and luac.elf. Also, lua.a and lualib.a are compiled.
Remember! It compiles without errors, but I have not tried to run the Linux version.

clean

wmake clean or cleanall
The clean option removes object and other misc build files. The cleanall option does the same as clean plus it removes executables and lib files.
EZine

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.7
Page was generated in 0.2681 seconds