[ref_impl_eiffel] adl_workbench, 64 bit, and small wish-list

I compiled it on 64 bit Linux, on 64 bit Eiffel-compiler, it compiles
and runs fine. Maybe someone wants to know.

I have a small wish-list.
- I would appreciate an internal text-editor with syntax highlighting
- Autodetection if a file has changed on disk, and ask for parsing again
- In splashscreen the date and version of latest code (indicates now,
somewhere in 2008)

Thanks, and congratulations with this multi-platform-compilable tool

Bert

Thanks for letting us know Bert. Which did you build: the trunk or one
of the branches?

- Peter

Bert Verhees wrote:

Thanks for letting us know Bert. Which did you build: the trunk or one
of the branches?

trunk

bert

Bert Verhees wrote:

- In splashscreen the date and version of latest code (indicates now,
somewhere in 2008)
    
And I asked:
Which did you build: the trunk or one of the branches?
    
And Bert replied:
trunk
  
Ok, the 2008 date would be correct, because there have been no
significant commits to the trunk since August. All of Thomas's recent
work has been in BRANCHES/specialisation. I've just changed the year to
2009 in that branch.

- Peter

Thanks, can you point me to some information what the specilization is
about? (must have missed it, and I am afraid of missing something
important)

Bert

Bert Verhees wrote:

Thanks, can you point me to some information what the specilization is
about? (must have missed it, and I am afraid of missing something
important)
  
There's a brief summary under the 1.5.0 and 1.4.1 headings at:

http://www.openehr.org/svn/ref_impl_eiffel/TRUNK/apps/doc/adl_workbench_help.htm

There's a lot more detail in the Subversion log comments, of course ...
probably far more detail than you would want.

- Peter

Too bad, this one does not compile, here is the error-code, maybe it
helps.

regards
Bert

Eiffel C/C++ Compilation Tool - Version 6.0
Copyright Eiffel Software 1985-2007. All Rights Reserved

Preparing C compilation
Compiling C code in C24
Compiling C code in C23
Compiling C code in C22
Compiling C code in C21
Compiling C code in C20
Compiling C code in C19
In file included from big_file_C20_c.c:22:
i11942.c:29:26: error: eif_langinfo.h: No such file or directory
In file included from big_file_C20_c.c:22:
i11942.c: In function 'inline_F1942_26705':
i11942.c:42: warning: assignment makes pointer from integer without a
cast
i11942.c:63: error: 'CODESET' undeclared (first use in this function)
i11942.c:63: error: (Each undeclared identifier is reported only once
i11942.c:63: error: for each function it appears in.)
i11942.c:63: warning: initialization makes pointer from integer without
a cast
i11942.c:74: warning: passing argument 2 of 'iconv' from incompatible
pointer type
i11942.c: In function 'inline_F1942_26707':
i11942.c:109: error: 'CODESET' undeclared (first use in this function)
i11942.c:109: warning: return makes pointer from integer without a cast
make[1]: *** [big_file_C20_c.o] Error 1
make: *** [C20/Cobj20.o] Error 2
make: *** Waiting for unfinished jobs....

Bert,

I presume this is on Linux; you need to download Eiffel 6.2 or 6.3 to
compile this code (I suspect 6.3 won't work - we have not tested it yet).

- thomas

Bert,

I presume this is on Linux; you need to download Eiffel 6.2 or 6.3 to
compile this code (I suspect 6.3 won't work - we have not tested it yet).

Maybe that is the problem, I was using 6.3

I try 6.2 (if it is still availiable)

Bert

It is on sourceforge

http://sourceforge.net/project/showfiles.php?group_id=196408

I keep you updated

Bert

Bert Verhees wrote:

Maybe that is the problem, I was using 6.3

I try 6.2 (if it is still availiable)
    
It is on sourceforge

http://sourceforge.net/project/showfiles.php?group_id=196408

I keep you updated
  
Don't bother. That's not the problem. I'm in the middle of writing an
explanation, which I'll send soon.

- Peter

Bert Verhees wrote:

Too bad, this one does not compile, here is the error-code, maybe it
helps.
...
i11942.c:29:26: error: eif_langinfo.h: No such file or directory
  
I've encountered this when I tried compiling on Linux. It's because we
are now using Eiffel Software's i18n library. We get the i18n library as
a Subversion external, because it's not installed with EiffelStudio. We
install it here:

    BRANCHES/specialisation/libraries/externals/i18n

You'll see that you have the missing header file here:

BRANCHES/specialisation/libraries/externals/i18n/spec/include/eif_langinfo.h

The trouble is, the Eiffel compiler can't find it, because the
configuration file for the i18n library makes the false assumption that
it is located inside the standard EiffelStudio installation. The
configuration file is here:

    BRANCHES/specialisation/libraries/externals/i18n/i18n.ecf

And the problem is caused by lines 21 to 25:

        <external_include
location="$(ISE_LIBRARY)/library/i18n/spec/include">
            <condition>
                <platform excluded_value="windows"/>
            </condition>
        </external_include>

Notice that this rule is excluded in Windows. That's why the ADL
Workbench specialisation branch compiles ok on Windows. No such luck on
other platforms, though, because $(ISE_LIBRARY) points to your
EiffelStudio installation directory.

Probably the easiest way for you to work around this, Bert, would be to
edit your local copy of i18n. On line 21, replace
"$(ISE_LIBRARY)/library/i18n" with the exact path to your i18n directory.

I did a successful compile on Linux a few months ago using this hack, or
something similar.

- Peter

Thanks, Peter and Thomas, for the support.

It compiles and runs in Eiffel6.3-64 bit on Linux 64 bit

I am very happy

Bert

> libraries/externals/i18n/i18n.ecf

Thanks, Peter and Thomas, for the support.

It compiles and runs in Eiffel6.3-64 bit on Linux 64 bit

I am very happy

Still happy, but I discovered some small bugs, not really big things,
small annoyances. For example, it does not close down, I have to kill
it.
Is there somewhere an place where they are collected? Bugzilla-like? Or
should I just write them to this list.

Bert