[ecj] Patch: FYI: add debug info

Tom Tromey tromey@redhat.com
Tue Jul 18 16:20:00 GMT 2006


I'm checking this in on the gcj-eclipse branch.

We always want debug info in the .class files.  And, there is no
pointing in having ecj print a lot of warnings during the build.

Tom

Index: ChangeLog.gcj
from  Tom Tromey  <tromey@redhat.com>

	* lib/Makefile.in: Rebuilt.
	* lib/Makefile.am (JAVAC): Add -w, -g, and --encoding.

Index: lib/Makefile.am
===================================================================
--- lib/Makefile.am	(revision 115453)
+++ lib/Makefile.am	(working copy)
@@ -18,7 +18,8 @@
 if FOUND_GCJ
 ## This should never be used when gcj is the compiler.
 ## See the compile-classes target.
-JAVAC = $(GCJ) -C -bootclasspath '' --classpath $(compile_classpath) -d . @classes
+## There's no point in warning, and we always want debug info.
+JAVAC = $(GCJ) -C -g -w --encoding=UTF-8 -bootclasspath '' --classpath $(compile_classpath) -d . @classes
 else
 if FOUND_JIKES
 JAVAC = $(JIKES) $(JIKESWARNINGS) +F $(JIKESENCODING) -bootclasspath '' -extdirs '' -sourcepath '' --classpath $(compile_classpath) -d . @classes



More information about the Java-patches mailing list