On Sun, 2005-03-06 at 02:42 -0800, Anthony Green wrote: > ant and javac aren't currently using the natively-built Eclipse > compiler. > javac in the latest java-gcj-compat does use the natively-built compiler actually, but it uses the old ABI and the gcjlib:// class loading mechanism. This patch is a better idea so I'll use it instead. Note that these changes wouldn't be required if we had a system-wide dbtool database. We really need to get support for this into libgcj's configury. Tom > We need to add something like the following to /usr/bin/ant in order to > pick up the .so files: > > # diff -c /usr/bin/ant~ /usr/bin/ant > *** /usr/bin/ant~ 2005-03-05 13:13:05.000000000 -0800 > --- /usr/bin/ant 2005-03-06 02:19:55.000000000 -0800 > *************** > *** 230,235 **** > --- 230,236 ---- > if $JAVACMD -version 2>&1 | grep -q "gcj"; then > if [ -f /usr/share/java/jdtcore.jar ]; then > LOCALCLASSPATH="$LOCALCLASSPATH:/usr/share/java/jdtcore.jar" > + ANT_OPTS="$ANT_OPTS -Dgnu.gcj.precompiled.db.path=/usr/lib/eclipse/eclipse.db" > fi > fi > > (and something similar to java-gcj-compat's javac.in, see attached patch) > > This will shave minutes off of the build times for some packages. > > I forget what the plan is wrt the db. Maybe we'll have a global one. > In any case, this will do in the meanwhile. > > (gbenson: could you please stick the above in apache-ant-javac-ecj.patch? This is > where we really need it - thanks!) > > AG > > -- > fedora-devel-java-list mailing list > fedora-devel-java-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/fedora-devel-java-list