1. Registered version of EU

I bought the registered version of Euphoria a few days ago, and have started 
playing with it.

2 questions:

1. Why is hello, world 180k when compiled?

2. I bound an exw using 'bindw "cube_demo.exw"' and the outputted file name 
was truncated, and all capitals; CUBE_D~1.EXE. Are there any command-line 
options for bind and bindw? The docs inside them didn't help any. Something 
like gcc's "-o outputfilename" would be perfect :oP
=====================================================
.______<-------------------\__
/ _____<--------------------__|===
||_    <-------------------/
\__| Mr Trick

new topic     » topic index » view message » categorize

2. Re: Registered version of EU

>>> mistertrik at hotmail.com 05/24/03 06:26AM >>>
> 1. Why is hello, world 180k when compiled?

Euphoria is interpreted, not compiled.  When you bind a "Hello, world"
program, you are simply joining the interpreter and the program into a
single exe file.  

> 2. I bound an exw using 'bindw "cube_demo.exw"' and the outputted
file >name 
> was truncated, and all capitals; CUBE_D~1.EXE.

Sorry, can't help you there.

Mike Sabal

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

3. Re: Registered version of EU

mistertrik at hotmail.com wrote:

 > 1. Why is hello, world 180k when compiled?

binding doesn't do any "compiling".
It just attaches your program (minus comments and whitespace)
to the end of ex.exe (184K), or exw.exe (73K), or exu etc.

If you translate to C and use Borland, you'll get a 108K .exe.
(40K with Lcc, 82K with Watcom). There's a lot of infrastructure
and runtime routines that are pulled into any .exe.

> 2. I bound an exw using 'bindw "cube_demo.exw"' and the outputted file 
> name was truncated, and all capitals; CUBE_D~1.EXE. 

I don't have any trouble creating long filename .exe's
using either bind or bindw. Maybe your DIR command
reverted to DOS format.

 > Are there any command-line options for bind and bindw?
 > The docs inside them didn't help any.

See http://www.rapideuphoria.com/bind.htm

 > Something like gcc's "-o outputfilename" would be perfect :oP

In 2.4 beta, there's a "-out filename" option for that.

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu