Re: [abc-users] Re: compiler error when compiling berkeley DB

From: Thomas Pawlitzki <mailinglist_at_pawlitzki.name>
Date: Tue, 11 Mar 2008 14:31:12 +0100

Hey Pavel,

> Both of these seem to be caused by abc's Polyglot-based front-end. To
> confirm, please try to process the source either with soot alone (which
> will parse the java source with Polyglot) or with Polyglot itself.

I am not so firm in the usage of soot and polyglot:

I tried with the following command:

java -cp lib\sootclasses-custom.jar;lib\polyglot.jar;lib\java_cup.jar;
soot.Main -src-prec java -process-dir ..\berkeley\je-2.1.30\src -d
soot -soot-classpath ..\berkeley\je-2.1.30\src

But i received the following error:

Soot started on Tue Mar 11 14:24:58 CET 2008
Exception in thread "main" java.lang.RuntimeException:
Aborting: can't find classfile java.lang.Object

> Having said that, work has been going quite well on the implementation
> of a new frontend for abc, based on the JastAddJ extensible Java
> compiler; in our experience this is often much more reliable than
> Polyglot, and (moreover) we are actively looking for and fixing bugs in
> abc-ja. We hope that the next abc release (by the end of this month)
> will contain the new frontend; in the meantime if you would like to try
> it out, you can get it directly from svn, as discussed several times on
> this list recently. The relevant repository URL to check out is
> http://abc.comlab.ox.ac.uk/products/trunk/abc-full .

I already checked out the HEAD branch of abc. But i can not figure out
how to use JastAddJ as front end. I found the project which includes
this front end but i do not know how to integrate it in the build
process.

Greetings,
Thomas
Received on Tue Mar 11 2008 - 13:31:16 GMT

This archive was generated by hypermail 2.2.0 : Tue Mar 11 2008 - 13:40:11 GMT