[ref_impl_eiffel] ADLworkbench in Linux

Bert Verhees wrote:

I do ot have much experience with Eiffel, how can I get my executable
smaller, I already finalized it without assertions, but it still is 53
Mb. Is there a way, or is this normal, it runs OK, that is no problem

That seems strange that it's so large, Bert. The Windows build of ADL
Workbench is about 7 Mb. The Macintosh PowerPC build is about 7 Mb too.

Are you sure that you aren't looking at the W_code executable?

Yes, I am, should there be another?
I studied the Eiffel language, but I don't have much experience with
building applications the Eiffel-IDE. (in fact, no experience)

Bert Verhees wrote:

Are you sure that you aren't looking at the W_code executable?

Yes, I am, should there be another?

The W_code directory contains EiffelStudio's "workbench" executable (i.e.
the debug executable).

The "finalized" executable, which is what you would distribute to end users,
is in the F_code directory.

As well as being about 15% of the size, the finalized executable runs much
faster, especially if you build it with assertions discarded. When you build
a finalized version, EiffelStudio asks whether you want to keep assertions.
We normally tell it to discard assertions, because they slow the application
down a lot.

- Peter

Bert Verhees wrote:

Are you sure that you aren't looking at the W_code executable?

Yes, I am, should there be another?

The W_code directory contains EiffelStudio's "workbench" executable (i.e.
the debug executable).

The "finalized" executable, which is what you would distribute to end
users,
is in the F_code directory.

I learn every day, thanks, I take a look tomorrow or day after and let you
know

Bert

Peter Gummer schreef:

Bert Verhees wrote:
  

Are you sure that you aren't looking at the W_code executable?
      

Yes, I am, should there be another?
    
The W_code directory contains EiffelStudio's "workbench" executable (i.e.
the debug executable).

The "finalized" executable, which is what you would distribute to end users,
is in the F_code directory.
  

I found it, it is 9Mb, and runs very good.
If you want a copy I can send it to you (would be good to have on the
openehr-website)

thanks for helping, regards,
Bert

Bert Verhees wrote:

The "finalized" executable, which is what you would distribute to end
users,
is in the F_code directory.

I found it, it is 9Mb, and runs very good.

Excellent!

Do you know whether you told EiffelStudio to discard assertions? I was
expecting it to be 7Mb. 9Mb is more like the size I see on Windows if I tell
it to keep assertions.

Linux could be different, of course.

- Peter

Peter Gummer schreef:

Bert Verhees wrote:

The "finalized" executable, which is what you would distribute to end
users,
is in the F_code directory.

I found it, it is 9Mb, and runs very good.
    
Excellent!

Do you know whether you told EiffelStudio to discard assertions? I was
expecting it to be 7Mb. 9Mb is more like the size I see on Windows if I tell
it to keep assertions.
  

I checked it again, it is without assertions

Bert