This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ecj] Patch: FYI: build classes with -g


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 .
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]