This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[ecj] Patch: FYI: build classes with -g
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 09 Jun 2006 16:19:05 -0600
- Subject: [ecj] Patch: FYI: build classes with -g
- Reply-to: tromey at redhat dot com
I'm checking this in on the gcj-eclipse branch.
This changes the build so that we build the class files with -g.
I couldn't see a reason why we wouldn't want to do this.
Also this adds -ftarget=1.5, which is both more efficient (due to
direct .class references), but it also fixes some other mysterious
bug.
Tom
Index: ChangeLog.gcj
from Tom Tromey <tromey@redhat.com>
* lib/Makefile.gcj (GCJF): Added -g and -ftarget=1.5.
Index: lib/Makefile.gcj
===================================================================
--- lib/Makefile.gcj (revision 114362)
+++ lib/Makefile.gcj (working copy)
@@ -25,7 +25,7 @@
-include Makefile.deps $(all_deps_files)
## Like GCJ but include some common flags.
-GCJF = $(GCJ) -Wno-deprecated --encoding=UTF-8 \
+GCJF = $(GCJ) -ftarget=1.5 -g -Wno-deprecated --encoding=UTF-8 \
--bootclasspath '' --classpath $(compile_classpath) \
-C -d .