This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ecj] the ecj patch


I thought I'd post the patch to ecj so that interested folks can try
out an ecj-based build.

I'm using a cvs head-ish version of ecj... but I haven't updated
recently, so YMMV.

This just refactors a few methods in the existing Main and adds a
new GCCMain class.

To make it all work:

* Apply this patch
* Build ecj
* Add an 'ecj1' to your path somewhere.
  I've been using this script:

    #! /bin/sh

    gij -cp /home/tromey/workspace/org.eclipse.jdt.core/bin/ \
       org.eclipse.jdt.internal.compiler.batch.GCCMain \
       ${1+"$@"}

  ... however, interpreting makes for a very slow build.
  A compiled ecj1 ought to be much nicer.

Tom

Attachment: P
Description: patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]