[m-rev.] for review: work towards building the compiler in the java grade

Julien Fischer juliensf at csse.unimelb.edu.au
Wed Jan 19 14:07:26 AEDT 2011


On Wed, 19 Jan 2011, Peter Wang wrote:

> On 2011-01-19, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
>>
>> For review by Peter Wang.
>>
>> Note that there other problems with compiler/Mmakefile that prevent the
>> compiler from building in the java grade -- I commented out the problems
>> when I tested this, but since that would break the C grades, it
>> isn't a fix -- I will address them separately.
>>
>> The other problem I encountered in the compiler directory is that
>> when building the .class files, the runtime classes cannot be found;
>> presumably this is just a matter of passing --java-classpath to mmc
>> and pointing it back at the library directory?
>
> Yes, probably similar to what is in SSDB_FLAGS.

Ah, thanks - that's exactly what I was after.  Unfortunately, we now
bump into the problem of there being too much code in one class.

Making Java class files
Mercury/javas/jmercury/libs__options.java:106: code too large
   static {
   ^

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list