1. RE: Want Watcom ? ? ?

-------Phoenix-Boundary-07081998-

You wrote on 12/5/01 4:41:01 PM:

>
>Hey Yall,
>
>OpenWatcom is available as most of you know. The Beta to 11c does compile
>Euphoria Translated Code and runs much faster than LCC or Borland
>but you have to know a few tricks to get Watcom to >work at all
>because the libraries and header files arent included in the beta release.
>I have the solution to this problem!
>
>Download Watcom 11c beta
>Download Masm32 by Hutch
>
>Transfer the library files from :\Masm32\lib  -to-  :\Watcom\lib386\nt
>
>Here is a sample Autoexec.bat file that sets up the path for Watcom
>
>SET EUDIR=D:\EUPHORIA
>SET WATCOM=D:\WATCOM
>SET PATH=%WATCOM%\BINNT;%WATCOM%\BINW;%PATH%
>
>SET EDPATH=%WATCOM%\EDDAT
>SET INCLUDE=%WATCOM%\H;%WATCOM%\MFC\INCLUDE;%WATCOM%\H\NT
>
>SET PATH=%PATH%;D:\EUPHORIA\BIN;D:\Borland\Bcc55\Bin;D:\Lcc\Bin;D:\TC
>
>make sure to reboot so changes will take affect!
>
>Run the Euphoria translator on your code then run emake.bat and your C
>files will be assmbled
>and linked
>disregard the Graph.lib message and your Watcom generated executable is
>ready.
>
>Your Welcome,
>
>Euman
>euman at bellsouth.net
>

I finally got around to trying this and it worked
fairly easily.
A couple of notes:
Instead of:
   SET EDPATH=%WATCOM%\EDDAT
   SET INCLUDE=%WATCOM%\H;%WATCOM%\MFC\INCLUDE;%WATCOM%\H\NT
I used:
   SET INCLUDE=%WATCOM%\H;%WATCOM%\H\NT
I didn't have, or need the other stuff.

The linker options didn't seem to work on the command line.
It apparently doesn't need them to function!
It seems to want the options in the exw.lnk file:
OPTION map, verbose
OPTION eliminate, symfile
FILES alloc.obj,callc.c ....

The command line was then
   wlink @exw.lnk

Attached is the batch file I used.

Thanks Euman
Karl

-------Phoenix-Boundary-07081998-
Content-type: text/txt; charset=ISO-8859-1; Name=wcc.bat.txt
Content-transfer-encoding: Quoted-printable

:del *.obj >NUL
:del e.exe >NUL
:del exw.exe >NUL

SET WATCOM=3DE:\WATCOM
SET PATH=3D%WATCOM%\BINNT;%WATCOM%\BINW;%PATH%
::SET EDPATH=3D%WATCOM%\EDDAT
::SET INCLUDE=3D%WATCOM%\H;%WATCOM%\MFC\INCLUDE;%WATCOM%\H\NT
SET INCLUDE=3D%WATCOM%\H;%WATCOM%\H\WIN


set CF=3D-s -ot -ol -om -oi -oa -or -5r
set CF=3D%CF% -ei -zp4 -zq -fp5 -fpi87 -mf -v
set CF=3D%CF% -DEWINDOWS -DEWATCOM
::set CF=3D%CF% -DINT_CODES

wcc386 alloc.c -bt=3Dnt %CF%

::goto linkit

wcc386 callc.c -bt=3Dnt %CF%
wcc386 emit.c -bt=3Dnt %CF%
wcc386 error.c -bt=3Dnt %CF%
wcc386 inline.c -bt=3Dnt %CF%
wcc386 machine.c -bt=3Dnt %CF%
wcc386 main.c -bt=3Dnt %CF%
wcc386 parser.c -bt=3Dnt %CF%
wcc386 rterror.c -bt=3Dnt %CF%
wcc386 runtime.c -bt=3Dnt %CF%
wcc386 scanner.c -bt=3Dnt %CF%
wcc386 symtab.c -bt=3Dnt %CF%
wcc386 w.c -bt=3Dnt %CF%
wcc386 x.c -bt=3Dnt %CF%

:linkit

:wlink SYS nt_win @exw.lnk >log
wlink @exw.lnk >log
wrc -q -ad exw.res exw.exe


dir exw.exe
:end



-------Phoenix-Boundary-07081998---

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu