Re: goto...
- Posted by euman at bellsouth.net Feb 09, 2002
- 761 views
----- Original Message ----- From: <kbochert at ix.netcom.com> >I am compiling the source code using LCC on Windows, to generate exw.exe. >I assume that I can generate an ex.exe version fairly easily. I would >then be in a position to distribute a windows or dos executeable along >with some documentation, which I believe is legal under Rob's licence. >Unix may take a little longer, unless someone is willing to get the >modified source and compile it themselves. >Speed: These modifications slow down Euphoria by an infinitesimal amount. >Unfortunately, using LCC instead of Watcom for compilation slows the >interpreter by about 20%. (Watcom is GOOD). Watcom is not currently >available but I may switch to Borland (about 10% slower than Watcom). >Getting the code to (appear to) work is only half the battle, >but the thought that someone might actually buy it should >spur my efforts. >There may be errors above -- corrections are welcome. >Karl Bochert Hey Karl, I wrote this 5 Dec 2001 Hey Yall, OpenWatcom is available as most of you know. The Beta to 11c does compile Euphoria Translated Code and runs 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 and install Watcom 11c beta Download and install Masm32 v7 (I think) by Hutch Transfer the library files from :\Masm32\lib -to- :\Watcom\lib386\nt Then Setup your Autoexec.bat file Here is a sample 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 assembled and linked, disregard the Graph.lib message and your Watcom generated executable is ready. I havent encountered any problem with it and I have many successfull compiles using this. One draw back is the HUGE D/L. Euman euman at bellsouth.net