[e-lang] E-on-Java works with recent gcj
Toby Murray
toby.murray at dsto.defence.gov.au
Tue Aug 15 01:21:39 EDT 2006
Toby Murray wrote:
>I've just done a quick check of that Makefile and found two typos. I've
>attached an updated version that also includes some comments, which I
>left-out of the original.
>
>
>
Of course, that Makefile should be extended a bit. The e.jar that it
creates is missing a few things at the moment.
(Sorry, I posted an old version of my Makefile and only just realised).
The e.jar that it creates is missing the safej files, as well as the
files from 'bin/resources', and the contents of the 'esrc/' directory.
Once these are added to the jar file, we can cut down the binary's
"java.class.path" to include just the jar file.
The binary's dependencies now only include the jar file, the shared
library and the classmap.db.
The 'e' binary that's built is also able to run the examples like
"echat.e-awt" and "racetrack.e-awt" etc. now too.
Hopefully, this Makefile that's attached will be the last revision :)
>If anyone else can test this, that'd be great. It shouldn't require more
>than two one-line patches to the sources (as mentioned earlier) and then
>just a 'make -f Makefile.gcj' to build the thing. The binary will end up
>in BUILD/bin/ and be called 'e'.
>
>One main issue is that you can't relocate some of the stuff in
>BUILD/lib, notably 'e.jar' and 'e.jar.so' and 'classmap.db'. This is
>because the binary has references to the full path to 'e.jar' and
>'classmap.db'. 'classmap.db' has a reference to the full path to 'e.jar.so'.
>I think the usual trick that's used (at least in Fedora Core 5) is to
>have a /usr/lib/e/ directory, in which lives 'e.jar' and 'e.jar.so' and
>'classmap.db'. Then all full path references point to files in this
>directory. This seems to work OK for a redistributable installable
>package like an RPM and could be a potential option for an E RPM binary
>distribution.
>
--
Toby Murray
Advanced Computer Capabilities Group
Information Networks Division
DSTO, Australia
IMPORTANT: This e-mail remains the property of the Australian Defence
Organisation and is subject to the jurisdiction of section 70 of the
Crimes Act 1914. If you have received this e-mail in error, you are
requested to contact the sender and delete the e-mail.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile.gcj
Url: http://www.eros-os.org/pipermail/e-lang/attachments/20060815/582a65f3/attachment.pl
More information about the e-lang
mailing list