lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

So what do I have to compile on DJGPP? The Lua sources from

I get this output:

cd include; c:/djgpp/bin/make.exe all
make.exe[1]: Entering directory `c:/src/lua50/include'
make.exe[1]: Nothing to be done for `all'.
make.exe[1]: Leaving directory `c:/src/lua50/include'
cd src; c:/djgpp/bin/make.exe all

Any ideas why?


Joseph Stewart wrote:
If you want to compile the source to run under dos, a good choice is DJGPP.


On 4/2/07, Antonio Scuri <> wrote:

 Lua Binaries for OpenWatcom are for Win32 only, and they are build using
"wcc386.exe". You will not be able to use it for MS-DOS. You will have to
recompile Lua.

But if you want to use it in a command promt in Windows then you are just
using the wrong compiler.


> -----Original Message-----
> From:
> [] On Behalf Of L-28C
> Sent: domingo, 1 de abril de 2007 13:26
> To:
> Subject: Compiling on Open Watcom?
> Hello everyone!
> How do I compile my Lua 5.0.3 app with Open Watcom for MS-DOS?
> I have this:
> wcc -fo=temp.o exe\main.c -i%LUA_INCLUDE% wlink import
> %LUA_LIB%\lua50.lib file temp.o >wlink_out.txt
> wlink gives me many undefined references (including Lua
> ones), but I believe the first 3 errors are the culprit. They say:
> Warning! W1008: cannot open clibs.lib : file not found
> Warning! W1008: cannot open math87s.lib : file not found
> Warning! W1008: cannot open emu87.lib : file not found
> Any ideas why? I got the owc1 libraries from LuaBinaries.
> Thanks in advance!
> (And sorry for posting so many questions at once...)