This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: small HACKING update
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 21 Aug 2005 17:19:54 -0600
- Subject: Patch: FYI: small HACKING update
- Reply-to: tromey at redhat dot com
I'm checking this in.
I thought I would make it more clear how you would go about checking
out a copy of classpath cvs into your libjava source tree.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* HACKING: Updated for hacking classpath in libgcj.
Index: HACKING
===================================================================
RCS file: /cvs/gcc/gcc/libjava/HACKING,v
retrieving revision 1.8
diff -u -r1.8 HACKING
--- HACKING 20 Jul 2005 21:24:56 -0000 1.8
+++ HACKING 21 Aug 2005 23:20:37 -0000
@@ -60,6 +60,30 @@
--
+You can develop in a GCC tree using a CVS checkout of Classpath, most
+of the time. (The exceptions are when an incompatible change has been
+made in Classpath and some core part of libgcj has not yet been
+updated.)
+
+The way to set this up is very similar to importing a new version of
+Classpath into the libgcj tree. In your working tree:
+
+* cd gcc/libjava; rm -rf classpath
+* cvs co classpath
+* cd classpath
+ Now run the auto tools as specified in the import process; then
+ cd ..
+* Run 'scripts/makemake.tcl > sources.am' in the source tree
+* Run automake for libgcj
+
+Now you should be ready to go.
+
+If you are working in a tree like this, you must remember to run
+makemake.tcl and automake whenever you update your embedded classpath
+tree.
+
+--
+
If you add a class to java.lang, java.io, or java.util
(including sub-packages, like java.lang.ref).