This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[ecj] Patch: FYI: add debug info
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 18 Jul 2006 10:15:48 -0600
- Subject: [ecj] Patch: FYI: add debug info
- Reply-to: tromey at redhat dot com
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