1. RE: Translator

Stewart,

I haven't had much experience with the Translator, but maybe I can help.  If
you're programming in DOS within Windows, does the Borland entry in the
%PATH% variable contain a non-DOS 8.3 path (this is a long shot)?  If so,
try putting quotes around the entry (").

Andrew Hall

-----Original Message-----
From: Stewart MacKenzie-Leigh [mailto:stewartml89 at msn.com] 
Sent: Sunday, October 26, 2003 9:32 AM
To: EUforum at topica.com
Subject: Re: Translator



i used the -bor switch and it still says 'can't find borland installation 
directory'

original message:
>From: a0054950 <a0054950 at freenet.de>
>Reply-To: EUforum at topica.com
>To: Stewart MacKenzie-Leigh <EUforum at topica.com>
>Subject: Re: Translator
>Date: Sun, 26 Oct 2003 17:19:32 +0100
>
>
>Hi Stewart,
>
>
>SML> I've recently downloaded the Euphoria to C translator.  It keeps 
>trying to
>SML> compile using LCCWIN but i downloaded the one for Borland.  what 
>should i
>SML> do?
>
>SML> thanks in advance,
>
>
>SML> ________________
>
>SML> StewartML
>
>
>SML> TOPICA - Start your own email discussion group. FREE!
>
>I just passed the same hassle, so I know very well what you are
>talking about:
>
>My Euphoria program compiled by LCC did not run as programmed.
>
>I did not want to download 60MB (Watcom).
>
>The Borland Compiler is just 9MB and it works. The Borland compiler
>comes with directories Bin, Examples, Help, Include and Lib in it.
>I moved directory Include and Lib in directory Bin!
>
>You don't have to change any path on bootup, just before the
>compilation:
>
>"path p:\programm\borland\bin" (it must point to the bin directory).
>Then you do: "ecw programname -bor" and afterwords "emake". That works
>fine and compiles without probs and runs as programmed.
>Good Luck!
>--
>Regards,
>Thomas
>mailto:a0054950 at freenet.de
>



TOPICA - Start your own email discussion group. FREE!

new topic     » topic index » view message » categorize

2. RE: Translator

Borland is better choice. I made some tests with LCC two or three monts 
ago and as I know there are two big problems.

First, LCC strongly uses a math coprocessor for all math operation and 
Euphoria does not corectly operated with casting from floating to 
unsigned numbers, in this way statement like this : CONSTANT WS_POPUP = 
#8000000 does not work correctly and, what is worse, this folling down 
all coprocessor operation for this program.

The second, there is some terrible bug in WIN API ( I use WIN98SE ) and 
some function calls destroy the stack pointer. For example function 
FindWindow ( if I use both parametrs for this funtion) . This is not 
problem for original Euphoria becouse WATCOM preserve and restore the 
stack pointer for extern funtion call, but LCC does't do this and same 
WIN program crashed.




Stewart MacKenzie-Leigh wrote:
> 
> 
> I've recently downloaded the Euphoria to C translator.  It keeps trying 
> to 
> compile using LCCWIN but i downloaded the one for Borland.  what should 
> i 
> do?
> 
> thanks in advance,
> 
> 
> ________________
> 
> StewartML
> 
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu