1. Translator

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     » topic index » view message » categorize

2. Re: Translator

use the -bor flag when translating

ec myprog.ex -bor
ecw myprog.exw -bor

your emake.bat file will then be setup to compile with Borland

----- Original Message -----
From: "Stewart MacKenzie-Leigh" <stewartml89 at msn.com>
To: <EUforum at topica.com>
Sent: Saturday, October 25, 2003 7:32 AM
Subject: Translator


>
>
> 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
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>

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

3. Re: Translator

I've tried it - it tries to use borland, but gives me an error saying it 
can't find the Borland installation dir.
the path to it is put in the %path% variable at boot up, does it have to be 
set up elsewhere as well?

thanks,

_______________

StewartML


reply to:
>From: Greg Haberek <g.haberek at comcast.net>
>Reply-To: EUforum at topica.com
>To: EUforum at topica.com
>Subject: Re: Translator
>Date: Sat, 25 Oct 2003 08:38:59 -0400
>
>
>use the -bor flag when translating
>
>ec myprog.ex -bor
>ecw myprog.exw -bor
>
>your emake.bat file will then be setup to compile with Borland
>
>----- Original Message -----
>From: "Stewart MacKenzie-Leigh" <stewartml89 at msn.com>
>To: <EUforum at topica.com>
>Sent: Saturday, October 25, 2003 7:32 AM
>Subject: Translator
>
>
> > 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
> >
> >
> > TOPICA - Start your own email discussion group. FREE!
> >
> >

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

4. Re: Translator

my install path is C:\Borland\Bcc55\Bin which is set in the PATH environment
variable



----- Original Message -----
From: "Stewart MacKenzie-Leigh" <stewartml89 at msn.com>
To: <EUforum at topica.com>
Subject: Re: Translator


>
>
> I've tried it - it tries to use borland, but gives me an error saying it
> can't find the Borland installation dir.
> the path to it is put in the %path% variable at boot up, does it have to
be
> set up elsewhere as well?
>
> thanks,
>
> _______________
>
> StewartML
>
>
> reply to:
> >From: Greg Haberek <g.haberek at comcast.net>
> >Reply-To: EUforum at topica.com
> >To: EUforum at topica.com
> >Subject: Re: Translator
> >Date: Sat, 25 Oct 2003 08:38:59 -0400
> >
> >
> >use the -bor flag when translating
> >
> >ec myprog.ex -bor
> >ecw myprog.exw -bor
> >
> >your emake.bat file will then be setup to compile with Borland
> >
> >----- Original Message -----
> >From: "Stewart MacKenzie-Leigh" <stewartml89 at msn.com>
> >To: <EUforum at topica.com>
> >Sent: Saturday, October 25, 2003 7:32 AM
> >Subject: Translator
> >
> >
> > > 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
> > >
> > >
> > > TOPICA - Start your own email discussion group. FREE!
> > >
> > >
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>

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

5. Re: Translator

Hi Stewart

I have only been programming in EU for DOS, but the below may be of 
interest for DOS and Win programming.

I had the some problem with Borland. It was easier to use the OpenWatcom 
C compiler. The standard Eu->C Watcom translator settings work fine with it. 
And the results are very good!

The OpenWatcom site seems to indicate the compiler works with DOS and 
Windows - even though the Eu -> C download page seems to suggest it's 
only for DOS.

A new version has just come out, v1.1. I haven't tried it yet, the v1.0 works 
fine for me (in DOS).

You can find the OpenWatcom compiler at:
www.openwatcom.org

Hope this help.

--
David Jarvis


On 25 Oct 2003 at 12:32, 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
> 
> 
> 
> TOPICA - Start your own email discussion group. FREE!
> 
>

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

6. Re: Translator

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

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

7. 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>
>To: Stewart MacKenzie-Leigh <EUforum at topica.com>
>Subject: Re: Translator
>
>
>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
>

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

8. Re: Translator

> 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!

Ok, however, there are 3 configuration files in \Bin:,
... which, if they're set up properly, won't require you to move any files
to any other directories.
- bcc32.cfg
- brc32.cfg
- ilink32.cfg

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

9. Re: Translator

Wolf,

you wrote:

W> Ok, however, there are 3 configuration files in \Bin:,
W> ... which, if they're set up properly, won't require you to move any files
W> to any other directories.
W> - bcc32.cfg
W> - brc32.cfg
W> - ilink32.cfg

I just set up bcc32.cfg and ilink32.cfg following Borlands readme.
Works.

What is brc32.cfg for?
-- 
Regards,
a0054950
mailto:a0054950 at freenet.de

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

10. Re: Translator

Stewart MacKenzie-Leigh wrote:
> i used the -bor switch and it still says 'can't find borland 
> installation directory'

The Translator searches your path for a Borland
directory name that contains a pattern like:
...\BCC...

If you install Borland in a non-standard place,
the Translator won't find it. This has come up a
few times before. In the Mailing List Search try:
Posted by:
     rds

Keywords:
     borland install path

Or click here:

http://www.listfilter.com/cgi-bin/esearch.exu?fromMonth=6&fromYear=1&toMonth=A&toYear=8&postedBy=rds&keywords=borland+install+path

Regards,
    Rob Craig
    Rapid Deployment Software
    http://www.RapidEuphoria.com

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

11. Re: Translator

> I just set up bcc32.cfg and ilink32.cfg following Borlands readme.
> Works.
> What is brc32.cfg for?

brc32.cfg is for the resource compiler ( path_to_stuff, etc.) . Some users
like to separate resources from their 'code' folder, I guess.
Btw, add the following two lines in bcc32.cfg, to ensure 'complete' code
compatibility with Win95/98, and older NT's, if you like.

-DWINVER=0x0400
-D_WIN32_WINNT=0x400

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

12. Re: Translator

Thanks for the help.
I've realised i can't use my version with Borland with it anyway - it is 
only version 2.01
it doesn't understand most of the command line switches.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu