@@ -34,18 +34,20 @@ To build Lua with Open Watcom you will need the following:
3434 * Download the Lua 5.4.x sources tarballs from https://lua.org/ftp/ , extract them and copy all files in ` src ` to ` Lua `
35352 ) Patch the source code for Watcom (optional):
3636
37- | GNU Patch | DifPat |
38- | ---------------------------------| --------------------------------|
39- | ` patch luaconf.h luaconf.pat ` | ` pat luaconf.pat luaconf.h ` |
40- | ` patch lopcodes.h lopcodes.pat ` | ` pat lopcodes.pat lopcodes.h ` |
41- | ` patch lutf8lib.c lutf8lib.pat ` | ` pat lutf8lib.pat lutf8lib.c ` |
37+ | GNU Patch | DifPat |
38+ | ------------------------------------- | ---- --------------------------------|
39+ | ` patch lua/ luaconf.h luaconf.pat ` | ` pat luaconf.pat lua\ luaconf.h ` |
40+ | ` patch lua/ lopcodes.h lopcodes.pat ` | ` pat lopcodes.pat lua\ lopcodes.h ` |
41+ | ` patch lua/ lutf8lib.c lutf8lib.pat ` | ` pat lutf8lib.pat lua\ lutf8lib.c ` |
4242 > If no patching program is available mimic the changes in each ` .pat ` file manually.
4343 > Patch changes are minimal and only serve to silence Watcom compiler warnings
4444
45- 3 ) Build Lua with the following commands:
46- - ` wmake -f wm_dos16.mak ` will create ` dist/bin/dos16.exe `
47- which can be run on PC-DOS 2 on an 8088 or better PC
48- - ` wmake -f wm_dos4g.mak ` will create ` dist/bin/dos4g.exe `
49- which can be run on MS-DOS 5 on an i386 or better PC
45+ 3 ) Build Lua with the following commands:
46+
47+ | Make Command | Binary File | System | Processor |
48+ | -------------------------| ----------------------| -------------| --------------------|
49+ | ` wmake -f wm_dos16.mak ` | ` dist/bin/lua16.exe ` | PC-DOS 2.0+ | 8086/8088 or later |
50+ | ` wmake -f wm_dos4g.mak ` | ` dist/bin/lua4g.exe ` | MS-DOS 5.0+ | 80386 or later |
51+
5052
5153Other targets may work but are untested
0 commit comments