[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Compiling on Open Watcom?
- From: L-28C <kixdemp@...>
- Date: Mon, 02 Apr 2007 17:04:38 -0400
So what do I have to compile on DJGPP? The Lua sources from www.lua.org?
I get this output:
cd include; c:/djgpp/bin/make.exe all
make.exe: Entering directory `c:/src/lua50/include'
make.exe: Nothing to be done for `all'.
make.exe: 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 <email@example.com> 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
But if you want to use it in a command promt in Windows then you are
using the wrong compiler.
> -----Original Message-----
> From: firstname.lastname@example.org
> [mailto:email@example.com] On Behalf Of L-28C
> Sent: domingo, 1 de abril de 2007 13:26
> To: firstname.lastname@example.org
> 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...)