[kaffe] CVS kaffe (robilad): added information on using ecj to compile the class library

Kaffe CVS cvs-commits at kaffe.org
Fri Sep 16 14:00:05 PDT 2005


PatchSet 6909 
Date: 2005/09/16 20:54:38
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
added information on using ecj to compile the class library

Members: 
	ChangeLog:1.4430->1.4431 
	FAQ/FAQ.classlibrary-compile:1.21->1.22 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4430 kaffe/ChangeLog:1.4431
--- kaffe/ChangeLog:1.4430	Fri Sep 16 19:17:48 2005
+++ kaffe/ChangeLog	Fri Sep 16 20:54:38 2005
@@ -1,5 +1,10 @@
 2005-09-16  Dalibor Topic  <robilad at kaffe.org>
 
+	FAQ/FAQ.classlibrary-compile: Added information on using
+	for ecj to compile the class library.
+
+2005-09-16  Dalibor Topic  <robilad at kaffe.org>
+
 	* libraries/clib/native/ClassLoader.c 
 	(java_lang_VMClassLoader_loadClass): Allow classes from
 	gnu.classpath.tools to be loaded.
Index: kaffe/FAQ/FAQ.classlibrary-compile
diff -u kaffe/FAQ/FAQ.classlibrary-compile:1.21 kaffe/FAQ/FAQ.classlibrary-compile:1.22
--- kaffe/FAQ/FAQ.classlibrary-compile:1.21	Tue Sep 13 20:28:44 2005
+++ kaffe/FAQ/FAQ.classlibrary-compile	Fri Sep 16 20:54:39 2005
@@ -93,9 +93,23 @@
 with "/full/path/to/builddir" replaced by the full path to the directory
 where you are building the Kaffe source code.
 
-It works with gcjx from 2005-09-13, and should continue to work with 
+It works with gcjx from 2005-09-15, and should continue to work with 
 later versions.
 
+* ecj
+
+The eclipse compiler works as well. ecj is part of the eclipse project:
+
+  http://www.eclipse.org
+
+In order to compile kaffe's class library, you need to set JAVAC_FLAGS
+to "-source 1.4 -bootclasspath /full/path/to/builddir/libraries/javalib/lib/",
+with "/full/path/to/builddir" replaced by the full path to the directory
+where you are building the Kaffe source code.
+
+It works with ecj 0.548, pre-3.1.0 milestone-6, and should work with later 
+versions as well.
+
 * kjc
 
 kjc works as well. kjc is part of the Kopi project:
@@ -105,8 +119,9 @@
 * javac 
 
 Sun's javac compiler from JDK 1.3 - JDK 1.5 works as well. You have
-to add "-bootclasspath lib/" to your JAVAC_FLAGS to avoid build
-problems due to Sun's javac confusing Sun's class libraries with kaffe's.
+to add "-bootclasspath /full/path/to/builddir/libraries/javalib/lib/" 
+to your JAVAC_FLAGS to avoid build problems due to Sun's javac 
+confusing Sun's class libraries with kaffe's.
 
 No known older version of Sun's javac compiler (up through JDK 1.2)
 will compile Kaffe's classes, due to bugs that Sun has yet to fix.



More information about the kaffe mailing list