[kaffe] CVS kaffe (robilad): added information how to build Classpath on Cygwin

Kaffe CVS cvs-commits at kaffe.org
Thu Sep 27 06:24:29 PDT 2007


PatchSet 7563 
Date: 2007/09/27 13:22:30
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
added information how to build Classpath on Cygwin

Members: 
	ChangeLog:1.5061->1.5062 
	FAQ/FAQ.win32:1.6->1.7 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5061 kaffe/ChangeLog:1.5062
--- kaffe/ChangeLog:1.5061	Sun Sep 23 21:16:56 2007
+++ kaffe/ChangeLog	Thu Sep 27 13:22:30 2007
@@ -1,3 +1,8 @@
+2007-09-27  Dalibor Topic  <robilad at kaffe.org>
+
+	* FAQ/FAQ.win32: Added information how to build GNU Classpth
+	from CVS head.
+
 2007-09-23  Dalibor Topic  <robilad at kaffe.org>
 
 	* kaffe/kaffevm/kaffe-gc/gc-incremental.c (finishGC)
Index: kaffe/FAQ/FAQ.win32
diff -u kaffe/FAQ/FAQ.win32:1.6 kaffe/FAQ/FAQ.win32:1.7
--- kaffe/FAQ/FAQ.win32:1.6	Thu Aug  9 01:28:45 2007
+++ kaffe/FAQ/FAQ.win32	Thu Sep 27 13:22:30 2007
@@ -30,10 +30,61 @@
 There is a jikes package in Cygwin now, but it can not be used yet
 to compile GNU Classpath, which Kaffe uses as its class library.
 
+You'll need the latest GNU Classpath CVS head. Instructions how to 
+get it can be found on http://www.classpath.org
+
+You'll Sun's javac in order to build GNU Classpath. Sun's JDK can be 
+found at http://java.sun.com.
+
 There is a Kaffe port to mingw32, and it would be great if someone 
 volunteered to merge it into the main tree. For more information, see
 http://www.kaffe.org/pipermail/kaffe/2003-January/092896.html
 http://kaffe.org/pipermail/kaffe/2004-April/097829.html
+
+GNU Classpath
+=============
+
+You need to build GNU Classpath first. After checking out Classpath,
+make sure that you have Sun's JDK installed locally. Then, make sure
+that Cygwin can find javac in its path, for example by setting
+
+export PATH=$PATH:/cygdrive/c/Programme/Java/jdk1.6.0_01/bin
+
+The actual path will depend on where Sun's JDK is installed.
+
+I use the following cofiguration options
+
+	../classpath/configure --disable-gtk-peer --disable-plugin \
+	--disable-gconf-peer --with-javac="javac -target 1.5 -J-Xmx512M"
+
+--disable-gtk-peer disables the building of the GTK peers, since the
+version in Cygwin is not current enough.
+
+--disable-plugin disables the building of the Mozilla plugin, since it 
+does not serve much purpose without GTK peers.
+
+--disable-gconf-peer disables the building of GConf peers, since the
+version in Cygwin is not current enough.
+
+--with-javac="javac -target 1.5 -J-Xmx512M" uses Sun's javac to build
+GNU Classpath's java classes, targetting Java 1.5 for the bytecode,
+and using up to 512M of memory for the compilation. We need to target 
+1.5, since the default for javac in JDK 1.6 are 1.6 JVMs. We need to 
+ask for more memory, since the default Sun JVM memory limit is too small
+to compile GNU Classpath.
+
+Running 
+
+	make 
+
+builds GNU Classpath. It also currently results in various warnings. If 
+you fix them, please submit your patches to the GNU Classpath bug tracker. 
+
+Running 
+
+	make install
+
+results in GNU Classpath being installed to /usr/local/classpath.
 
 Configuration
 =============




More information about the kaffe mailing list