------- Comment #10 from howarth at nitro dot med dot uc dot edu 2010-02-12 14:40 ------- Does slackware provide packaging files to show how they build their gcc? Normally all you need to do is download ftp://sourceware.org/pub/java/ecj-latest.jar and place it as ecj.jar in the top of the gcc source tree for the build to properly utilize it. Does your stock gcj compile simple java code like...
public class testme { public static void main(String args[]){ System.out.println("Hello"); } } with just 'gcj --main=testme -O testme.java'? You shouldn't need to pass more than that for gcj to work if it is using ecj.jar. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41802