[kaffe] cross compile error

2005-07-06 Thread toodulli
Hi...all.
I want to cross compile for arm architecture.
But, When configuring, saw the error messages.

[EMAIL PROTECTED] kaffe-1.1.4]# CC=arm-linux-gcc NM=arm-linux-nm AR=arm-linux-ar
./configure --host=arm-linux --build=i686-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... arm-linux-strip
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for arm-linux-gcc... arm-linux-gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See 'config.log' for more details.









___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] bug report

2005-07-06 Thread 황윤성



make[4]: Entering directory `/home/hys545/kaffe/libraries/clib/awt/classpath-gtk/gtk-peer'
make[4]: *** No rule to make target `gnu_java_awt_peer_gtk_GtkTextComponentPeer.c', needed by `libgtkpeer_la-gnu_java_awt_peer_gtk_GtkTextComponentPeer.lo'.  Stop.
make[4]: Leaving directory `/home/hys545/kaffe/libraries/clib/awt/classpath-gtk/gtk-peer'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/hys545/kaffe/libraries/clib/awt/classpath-gtk'
I update cvs 2005-7-6






	
		
			
			






	
	
	
	
	
	
	황윤성
	
	
	
	
	1980/10/28()
	
	
	
	
	
	
	426-811
	
	815-19 301호
	
	
	
	
	
	
	
	
	[EMAIL PROTECTED]
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	H.P : 016-469-7702
	
	
	
	
	
	



			
			
		
		



	
	
	
	




 http://www.dreamwiz.com/






   ___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Error building from CVS code.

2005-07-06 Thread Akhilesh Shirbhate
I have a fresh download from CVS. The build fails even when I have jikes.
I had earlier posted the question here. Please help me out. 

http://www.kaffe.org/pipermail/kaffe/2005-July/102854.html

-Akhilesh

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Error building from CVS code.

2005-07-06 Thread Michael Franz
Akhilesh,

You should use a newer version of Jikes.  1.13 is pretty old, try
using at least 1.22 (not sure what the latest version is).

Michael

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Jikes in kaffe.org

2005-07-06 Thread Akhilesh Shirbhate
I think that the old jikes distributions from the site should be removed.
http://www.kaffe.org/ftp/pub/packages/jikes/

Or atleast the latest jikes distribution should be put up here. Better
option would be to modify the README to say that we need a newer jikes
version to compile CVS code.

-Akhilesh.

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: awt and swing fixes

2005-07-06 Thread Kaffe CVS
PatchSet 6705 
Date: 2005/07/06 13:21:11
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: awt and swing fixes

Members: 
ChangeLog:1.4229-1.4230 
libraries/javalib/java/awt/AWTKeyStroke.java:1.8-1.9 
libraries/javalib/java/awt/BufferCapabilities.java:1.7-1.8 
libraries/javalib/java/awt/ColorPaintContext.java:1.4-1.5 
libraries/javalib/java/awt/Component.java:1.54-1.55 
libraries/javalib/java/awt/Container.java:1.34-1.35 
libraries/javalib/java/awt/EventQueue.java:1.17-1.18 
libraries/javalib/java/awt/GraphicsDevice.java:1.4-1.5 
libraries/javalib/java/awt/Image.java:1.22-1.23 
libraries/javalib/java/awt/KeyboardFocusManager.java:1.10-1.11 
libraries/javalib/java/awt/MediaTracker.java:1.20-1.21 
libraries/javalib/java/awt/PrintJob.java:1.5-1.6 
libraries/javalib/java/awt/Robot.java:1.6-1.7 
libraries/javalib/javax/swing/JTable.java:1.23-1.24 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4229 kaffe/ChangeLog:1.4230
--- kaffe/ChangeLog:1.4229  Wed Jul  6 02:40:33 2005
+++ kaffe/ChangeLog Wed Jul  6 13:21:11 2005
@@ -2,6 +2,31 @@
 
Resynced with GNU Classpath.
 
+   2005-07-06  David Gilbert  [EMAIL PROTECTED]
+
+* java/awt/AWTKeyStroke.java: fixed API doc links,
+* java/awt/BufferCapabilities.java: likewise,
+* java/awt/ColorPaintContext.java: likewise,
+* java/awt/Component.java: likewise,
+* java/awt/Container.java: likewise,
+* java/awt/EventQueue.java: likewise,
+* java/awt/GraphicsDevice.java: likewise,
+* java/awt/Image.java: likewise,
+* java/awt/KeyboardFocusManager.java: likewise,
+* java/awt/MediaTracker.java: likewise,
+* java/awt/PrintJob.java: likewise,
+* java/awt/Robot.java: likewise.
+
+   2005-07-06  David Gilbert  [EMAIL PROTECTED]
+
+* javax/swing/JTable.java
+(setAutoCreateColumnsFromModel): when the flag changes from false to
+true, call createDefaultColumnsFromModel().
+
+2005-07-06  Dalibor Topic  [EMAIL PROTECTED]
+
+   Resynced with GNU Classpath.
+
2005-07-05  David Gilbert  [EMAIL PROTECTED]
 
 * javax/swing/JTable.java
Index: kaffe/libraries/javalib/java/awt/AWTKeyStroke.java
diff -u kaffe/libraries/javalib/java/awt/AWTKeyStroke.java:1.8 
kaffe/libraries/javalib/java/awt/AWTKeyStroke.java:1.9
--- kaffe/libraries/javalib/java/awt/AWTKeyStroke.java:1.8  Mon Jul  4 
00:06:00 2005
+++ kaffe/libraries/javalib/java/awt/AWTKeyStroke.java  Wed Jul  6 13:21:16 2005
@@ -38,6 +38,7 @@
 
 package java.awt;
 
+import java.awt.event.InputEvent;
 import java.awt.event.KeyEvent;
 import java.io.ObjectStreamException;
 import java.io.Serializable;
Index: kaffe/libraries/javalib/java/awt/BufferCapabilities.java
diff -u kaffe/libraries/javalib/java/awt/BufferCapabilities.java:1.7 
kaffe/libraries/javalib/java/awt/BufferCapabilities.java:1.8
--- kaffe/libraries/javalib/java/awt/BufferCapabilities.java:1.7Mon Jul 
 4 00:06:01 2005
+++ kaffe/libraries/javalib/java/awt/BufferCapabilities.javaWed Jul  6 
13:21:16 2005
@@ -38,6 +38,8 @@
 
 package java.awt;
 
+import java.awt.image.BufferStrategy;
+
 /**
  * A double-buffering capability descriptor.  This class exposes
  * details about the double-buffering algorithms used by image
@@ -60,7 +62,7 @@
  * @author Eric Blake ([EMAIL PROTECTED])
  *
  * @see BufferStrategy#getCapabilities()
- * @see GraphicsConfiguration#getCapabilities()
+ * @see GraphicsConfiguration#getBufferCapabilities()
  *
  * @since 1.4
  */
Index: kaffe/libraries/javalib/java/awt/ColorPaintContext.java
diff -u kaffe/libraries/javalib/java/awt/ColorPaintContext.java:1.4 
kaffe/libraries/javalib/java/awt/ColorPaintContext.java:1.5
--- kaffe/libraries/javalib/java/awt/ColorPaintContext.java:1.4 Mon Jul  4 
00:06:01 2005
+++ kaffe/libraries/javalib/java/awt/ColorPaintContext.java Wed Jul  6 
13:21:16 2005
@@ -105,8 +105,8 @@
*
* @param x the x-coordinate, in device space
* @param y the y-coordinate, in device space
-   * @param w the width, in device space
-   * @param h the height, in device space
+   * @param width the width, in device space
+   * @param height the height, in device space
* @return a raster for the given area and color
*/
   public Raster getRaster(int x, int y, int width, int height)
Index: kaffe/libraries/javalib/java/awt/Component.java
diff -u kaffe/libraries/javalib/java/awt/Component.java:1.54 
kaffe/libraries/javalib/java/awt/Component.java:1.55
--- kaffe/libraries/javalib/java/awt/Component.java:1.54Mon Jul  4 
00:06:01 2005
+++ kaffe/libraries/javalib/java/awt/Component.java Wed Jul  6 13:21:16 2005
@@ -3500,9 +3500,9 @@
   /**
* Sets the focus traversal keys for one of the three focus
* traversal directions supported by Components:
-   * [EMAIL PROTECTED] 

[kaffe] CVS kaffe (robilad): Fixed build for JVMPI

2005-07-06 Thread Kaffe CVS
PatchSet 6706 
Date: 2005/07/06 17:49:35
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed build for JVMPI

2005-07-06  Dalibor Topic  [EMAIL PROTECTED]

* kaffe/jvmpi/jvmpi_kaffe.h: Added missing classMethod.h include.

* kaffe/kaffevm/jni/jni-refs.c: Added missing jvmpi_kaffe.h include.

Members: 
ChangeLog:1.4230-1.4231 
kaffe/jvmpi/jvmpi_kaffe.h:1.2-1.3 
kaffe/kaffevm/jni/jni-refs.c:1.1-1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4230 kaffe/ChangeLog:1.4231
--- kaffe/ChangeLog:1.4230  Wed Jul  6 13:21:11 2005
+++ kaffe/ChangeLog Wed Jul  6 17:49:35 2005
@@ -1,5 +1,11 @@
 2005-07-06  Dalibor Topic  [EMAIL PROTECTED]
 
+   * kaffe/jvmpi/jvmpi_kaffe.h: Added missing classMethod.h include.
+
+   * kaffe/kaffevm/jni/jni-refs.c: Added missing jvmpi_kaffe.h include.
+
+2005-07-06  Dalibor Topic  [EMAIL PROTECTED]
+
Resynced with GNU Classpath.
 
2005-07-06  David Gilbert  [EMAIL PROTECTED]
Index: kaffe/kaffe/jvmpi/jvmpi_kaffe.h
diff -u kaffe/kaffe/jvmpi/jvmpi_kaffe.h:1.2 kaffe/kaffe/jvmpi/jvmpi_kaffe.h:1.3
--- kaffe/kaffe/jvmpi/jvmpi_kaffe.h:1.2 Sat Oct 11 20:45:48 2003
+++ kaffe/kaffe/jvmpi/jvmpi_kaffe.h Wed Jul  6 17:49:40 2005
@@ -18,6 +18,7 @@
 
 #include jvmpi.h
 
+#include classMethod.h
 #include lock-impl.h
 #include support.h
 #include code.h
Index: kaffe/kaffe/kaffevm/jni/jni-refs.c
diff -u kaffe/kaffe/kaffevm/jni/jni-refs.c:1.1 
kaffe/kaffe/kaffevm/jni/jni-refs.c:1.2
--- kaffe/kaffe/kaffevm/jni/jni-refs.c:1.1  Tue Jul  5 17:20:41 2005
+++ kaffe/kaffe/kaffevm/jni/jni-refs.c  Wed Jul  6 17:49:41 2005
@@ -19,7 +19,7 @@
 #include jni_i.h
 #include jni_funcs.h
 #include gc.h
-
+#include jvmpi_kaffe.h
 
 static void
 postError(JNIEnv* env, errorInfo* info)

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Fixed build again

2005-07-06 Thread Kaffe CVS
PatchSet 6707 
Date: 2005/07/06 21:04:36
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed build again

2005-07-06  Dalibor Topic  [EMAIL PROTECTED]

* libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am
(libgtkpeer_la_SOURCES): Removed 
gnu_java_awt_peer_gtk_GtkTextComponentPeer.c.

Reported by:  Akhilesh Shirbhate [EMAIL PROTECTED]

Members: 
ChangeLog:1.4231-1.4232 
libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am:1.16-1.17 
libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in:1.37-1.38 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4231 kaffe/ChangeLog:1.4232
--- kaffe/ChangeLog:1.4231  Wed Jul  6 17:49:35 2005
+++ kaffe/ChangeLog Wed Jul  6 21:04:36 2005
@@ -1,5 +1,12 @@
 2005-07-06  Dalibor Topic  [EMAIL PROTECTED]
 
+   * libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am
+   (libgtkpeer_la_SOURCES): Removed 
gnu_java_awt_peer_gtk_GtkTextComponentPeer.c.
+
+   Reported by:  Akhilesh Shirbhate [EMAIL PROTECTED]
+
+2005-07-06  Dalibor Topic  [EMAIL PROTECTED]
+
* kaffe/jvmpi/jvmpi_kaffe.h: Added missing classMethod.h include.
 
* kaffe/kaffevm/jni/jni-refs.c: Added missing jvmpi_kaffe.h include.
Index: kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am
diff -u kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am:1.16 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am:1.17
--- kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am:1.16Wed Jul 
 6 02:26:12 2005
+++ kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am Wed Jul  6 
21:04:44 2005
@@ -42,7 +42,6 @@
gnu_java_awt_peer_gtk_GtkScrollbarPeer.c \
gnu_java_awt_peer_gtk_GtkScrollPanePeer.c \
gnu_java_awt_peer_gtk_GtkTextAreaPeer.c \
-   gnu_java_awt_peer_gtk_GtkTextComponentPeer.c \
gnu_java_awt_peer_gtk_GtkTextFieldPeer.c \
gnu_java_awt_peer_gtk_GtkToolkit.c \
gnu_java_awt_peer_gtk_GtkWindowPeer.c \
Index: kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in
diff -u kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in:1.37 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in:1.38
--- kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in:1.37Wed Jul 
 6 02:26:12 2005
+++ kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in Wed Jul  6 
21:04:44 2005
@@ -113,7 +113,6 @@
gnu_java_awt_peer_gtk_GtkScrollbarPeer.c \
gnu_java_awt_peer_gtk_GtkScrollPanePeer.c \
gnu_java_awt_peer_gtk_GtkTextAreaPeer.c \
-   gnu_java_awt_peer_gtk_GtkTextComponentPeer.c \
gnu_java_awt_peer_gtk_GtkTextFieldPeer.c \
gnu_java_awt_peer_gtk_GtkToolkit.c \
gnu_java_awt_peer_gtk_GtkWindowPeer.c gthread-jni.c \
@@ -152,7 +151,6 @@
libgtkpeer_la-gnu_java_awt_peer_gtk_GtkScrollbarPeer.lo \
libgtkpeer_la-gnu_java_awt_peer_gtk_GtkScrollPanePeer.lo \
libgtkpeer_la-gnu_java_awt_peer_gtk_GtkTextAreaPeer.lo \
-   libgtkpeer_la-gnu_java_awt_peer_gtk_GtkTextComponentPeer.lo \
libgtkpeer_la-gnu_java_awt_peer_gtk_GtkTextFieldPeer.lo \
libgtkpeer_la-gnu_java_awt_peer_gtk_GtkToolkit.lo \
libgtkpeer_la-gnu_java_awt_peer_gtk_GtkWindowPeer.lo \
@@ -495,7 +493,6 @@
gnu_java_awt_peer_gtk_GtkScrollbarPeer.c \
gnu_java_awt_peer_gtk_GtkScrollPanePeer.c \
gnu_java_awt_peer_gtk_GtkTextAreaPeer.c \
-   gnu_java_awt_peer_gtk_GtkTextComponentPeer.c \
gnu_java_awt_peer_gtk_GtkTextFieldPeer.c \
gnu_java_awt_peer_gtk_GtkToolkit.c \
gnu_java_awt_peer_gtk_GtkWindowPeer.c \
@@ -652,7 +649,6 @@
 @AMDEP_TRUE@@am__include@ @[EMAIL PROTECTED]/$(DEPDIR)/[EMAIL PROTECTED]@
 @AMDEP_TRUE@@am__include@ @[EMAIL PROTECTED]/$(DEPDIR)/[EMAIL PROTECTED]@
 @AMDEP_TRUE@@am__include@ @[EMAIL PROTECTED]/$(DEPDIR)/[EMAIL PROTECTED]@
[EMAIL PROTECTED]@@am__include@ @[EMAIL PROTECTED]/$(DEPDIR)/[EMAIL PROTECTED]@
 @AMDEP_TRUE@@am__include@ @[EMAIL PROTECTED]/$(DEPDIR)/[EMAIL PROTECTED]@
 @AMDEP_TRUE@@am__include@ @[EMAIL PROTECTED]/$(DEPDIR)/[EMAIL PROTECTED]@
 @AMDEP_TRUE@@am__include@ @[EMAIL PROTECTED]/$(DEPDIR)/[EMAIL PROTECTED]@
@@ -911,13 +907,6 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@  
source='gnu_java_awt_peer_gtk_GtkTextAreaPeer.c' 
object='libgtkpeer_la-gnu_java_awt_peer_gtk_GtkTextAreaPeer.lo' libtool=yes 
@AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@  DEPDIR=$(DEPDIR) $(CCDEPMODE) 
$(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) 
$(DEFAULT_INCLUDES) $(INCLUDES) $(libgtkpeer_la_CPPFLAGS) $(CPPFLAGS) 
$(libgtkpeer_la_CFLAGS) $(CFLAGS) -c -o 
libgtkpeer_la-gnu_java_awt_peer_gtk_GtkTextAreaPeer.lo `test -f 
'gnu_java_awt_peer_gtk_GtkTextAreaPeer.c' || echo 
'$(srcdir)/'`gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
-
-libgtkpeer_la-gnu_java_awt_peer_gtk_GtkTextComponentPeer.lo: 
gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
[EMAIL PROTECTED]@  if $(LIBTOOL) --tag=CC --mode=compile 

Re: [kaffe] bug report

2005-07-06 Thread Dalibor Topic
황윤성 wrote:
 
 make[4]: Entering directory
 `/home/hys545/kaffe/libraries/clib/awt/classpath-gtk/gtk-peer'
 make[4]: *** No rule to make target
 `gnu_java_awt_peer_gtk_GtkTextComponentPeer.c', needed by
 `libgtkpeer_la-gnu_java_awt_peer_gtk_GtkTextComponentPeer.lo'. Stop.
 make[4]: Leaving directory
 `/home/hys545/kaffe/libraries/clib/awt/classpath-gtk/gtk-peer'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory
 `/home/hys545/kaffe/libraries/clib/awt/classpath-gtk'
  I update cvs 2005-7-6

thanks for the bug report, I've fixed that now.

cheers,
dalibor topic

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] cross compile error

2005-07-06 Thread Dalibor Topic
[EMAIL PROTECTED] wrote:
 Hi...all.
 I want to cross compile for arm architecture.
 But, When configuring, saw the error messages.
  
 [EMAIL PROTECTED] kaffe-1.1.4]# CC=arm-linux-gcc NM=arm-linux-nm 
 AR=arm-linux-ar
 ./configure --host=arm-linux --build=i686-linux
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking for arm-linux-strip... arm-linux-strip
 checking whether to enable maintainer-specific portions of Makefiles...
 no
 checking for arm-linux-gcc... arm-linux-gcc
 checking for C compiler default output file name... configure: error: C
 compiler cannot create executables
 See 'config.log' for more details.

Hi,

that looks odd. What does config.log say about arm-linux-gcc?

cheers,
dalibor topic

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Updated jikes recommendation to 1.22

2005-07-06 Thread Kaffe CVS
PatchSet 6708 
Date: 2005/07/06 21:18:24
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Updated jikes recommendation to 1.22

2005-07-06  Dalibor Topic  [EMAIL PROTECTED]

* FAQ/FAQ.classlibrary-compile: Recommend jikes 1.22.

Reported by:  Akhilesh Shirbhate [EMAIL PROTECTED]

Members: 
ChangeLog:1.4232-1.4233 
FAQ/FAQ.classlibrary-compile:INITIAL-1.19 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4232 kaffe/ChangeLog:1.4233
--- kaffe/ChangeLog:1.4232  Wed Jul  6 21:04:36 2005
+++ kaffe/ChangeLog Wed Jul  6 21:18:24 2005
@@ -1,5 +1,11 @@
 2005-07-06  Dalibor Topic  [EMAIL PROTECTED]
 
+   * FAQ/FAQ.classlibrary-compile: Recommend jikes 1.22.
+
+Reported by:  Akhilesh Shirbhate [EMAIL PROTECTED]
+
+2005-07-06  Dalibor Topic  [EMAIL PROTECTED]
+
* libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am
(libgtkpeer_la_SOURCES): Removed 
gnu_java_awt_peer_gtk_GtkTextComponentPeer.c.
 
===
Checking out kaffe/FAQ/FAQ.classlibrary-compile
RCS:  /home/cvs/kaffe/kaffe/FAQ/FAQ.classlibrary-compile,v
VERS: 1.19
***
--- /dev/null   Sun Aug  4 19:57:58 2002
+++ kaffe/FAQ/FAQ.classlibrary-compile  Wed Jul  6 21:24:43 2005
@@ -0,0 +1,183 @@
+
+How do I compile the class library?
+---
+
+Cd to your build directory (the same as the source directory if you
+did ./configure), then cd to libraries/javalib.
+
+Type make.
+
+This will build the java libraries, put them in a rt.jar file
+and overwrite the version in your source tree.  Type make install
+to install the jar file in your target prefix.
+
+If you have added or removed files from the javalib tree, you will have
+to update Makefile.am, Makefile.in and Makefile. Do this as follows:
+
+$ cd ../..
+$ sh developers/autogen.sh
+$ ./configure
+
+Please use the version of automake as described in FAQ.automake.
+This version will minimize your diffs with the CVS tree as it is 
+the version used by the kaffe developers.
+
+If you want to rebuild not only Klasses.jar, but also the jar-files of
+Kaffe extensions, type make CLASSDIRS=all Klasses.
+
+How do I set the compiler?
+--
+
+The ./configure script has the --with-jikes option. If you don't set
+it at all, the build system will use the compiler specified by the
+JAVAC environment variable. If no compiler is specified in JAVAC, the
+build system will use the included kjc Java compiler.
+
+Setting --with-jikes=yes will use the jikes compiler if one can
+be found. You can also specify the absolute path to a jikes executable
+using --with-jikes=/absolute-path-to/jikes.
+
+You can also use the absolute path to specify other Java
+compilers. For example, in order to use gcj to compile the class
+library, you would run ./configure --with-jikes=/path-to/gcj. The same
+method can be applied to configure kaffe to compile the class library
+using Sun's javac compiler, or any other Java compiler.
+
+If you manage to compile kaffe's class library using a Java compiler
+other than javac, kjc, jikes or gcj, please send a message to
[EMAIL PROTECTED]
+
+How do I pass flags to the compiler?
+--
+
+Use the JAVAC_FLAGS environment variable.
+
+make JAVAC_FLAGS=-verbose
+
+will compile the class library with verbose messages about the
+compilation process. Which flags you can set depends on the Java
+compiler you use.
+
+What compilers are known to work?
+-
+
+* jikes
+
+The preferred compiler is jikes. The URL for jikes is:
+
+  http://www10.software.ibm.com/developerworks/opensource/jikes/
+
+Please note that jikes 1.14 and 1.15 have bugs that result in a
+miscompiled Klasses.jar file.
+
+The recommended version of jikes is 1.22 or higher.
+
+* kjc
+
+The included compiler, kjc, also works. kjc is part of the Kopi project:
+
+  http://www.dms.at/kopi/kjc.html
+
+* javac 
+
+Sun's javac compiler from JDK 1.3 and JDK 1.4 works as well. You have
+to add -bootclasspath lib/ to your JAVAC_FLAGS to avoid build
+problems due to Sun's javac linking 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.
+
+What compilers are known not to work?
+-
+
+FSF's gcj doesn't work up to version 3.3.
+
+In order to compile the class library with gcj to bytecodes instead of
+native code, you need to pass it the -C flag. Unfortunately, gcj has
+some bugs that prevent it from compiling kaffe's class library at the
+moment.
+
+If you have managed to compile the class library using any version of
+gcj, please write to [EMAIL PROTECTED]
+
+How do I adapt the class library to my needs?
+-
+
+If you are using kaffe on an embedded system, you may want to use only
+a part of the functionality 

Re: [kaffe] Jikes in kaffe.org

2005-07-06 Thread Dalibor Topic
Akhilesh Shirbhate wrote:
 I think that the old jikes distributions from the site should be removed.
 http://www.kaffe.org/ftp/pub/packages/jikes/
 
 Or atleast the latest jikes distribution should be put up here. Better
 option would be to modify the README to say that we need a newer jikes
 version to compile CVS code.

I've added jikes 1.22 to the ftp server, and changed the README in that
directory to indicate 1.22 as the version to use, as well as updated
FAQ/classlibrary-compile to recommend jikes 1.22. Thanks for the bug
report, and sorry for the inconvenience.

cheers,
dalibor topic

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Resynced with GNU inetlib

2005-07-06 Thread Kaffe CVS
PatchSet 6709 
Date: 2005/07/06 23:19:52
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU inetlib

Members: 
ChangeLog:1.4233-1.4234 
libltdl/configure:1.84-1.85 
libraries/javalib/Makefile.am:1.370-1.371 
libraries/javalib/Makefile.in:1.460-1.461 
libraries/javalib/all.files:1.141-1.142 
libraries/javalib/gnu/inet/comsat/ComsatClient.java:1.3-1.4 
libraries/javalib/gnu/inet/comsat/ComsatInfo.java:1.3-1.4 
libraries/javalib/gnu/inet/finger/FingerConnection.java:1.5-1.6 
libraries/javalib/gnu/inet/finger/FingerURLConnection.java:1.5-1.6 
libraries/javalib/gnu/inet/finger/Handler.java:1.5-1.6 
libraries/javalib/gnu/inet/gopher/DirectoryEntry.java:1.5-1.6 
libraries/javalib/gnu/inet/gopher/DirectoryListing.java:1.5-1.6 
libraries/javalib/gnu/inet/gopher/GopherConnection.java:1.5-1.6 
libraries/javalib/gnu/inet/gopher/GopherContentHandler.java:1.5-1.6 
libraries/javalib/gnu/inet/gopher/GopherURLConnection.java:1.5-1.6 
libraries/javalib/gnu/inet/gopher/Handler.java:1.5-1.6 
libraries/javalib/gnu/inet/https/Handler.java:1.6-1.7(DEAD) 
libraries/javalib/gnu/inet/imap/IMAPConnection.java:1.8-1.9 
libraries/javalib/gnu/inet/imap/IMAPConstants.java:1.6-1.7 
libraries/javalib/gnu/inet/imap/IMAPException.java:1.6-1.7 
libraries/javalib/gnu/inet/imap/IMAPResponse.java:1.6-1.7 
libraries/javalib/gnu/inet/imap/IMAPResponseTokenizer.java:1.6-1.7 
libraries/javalib/gnu/inet/imap/ListEntry.java:1.6-1.7 
libraries/javalib/gnu/inet/imap/MailboxStatus.java:1.6-1.7 
libraries/javalib/gnu/inet/imap/MessageStatus.java:1.6-1.7 
libraries/javalib/gnu/inet/imap/Namespaces.java:1.3-1.4 
libraries/javalib/gnu/inet/imap/Pair.java:1.6-1.7 
libraries/javalib/gnu/inet/imap/Quota.java:1.3-1.4 
libraries/javalib/gnu/inet/imap/UTF7imap.java:1.6-1.7 
libraries/javalib/gnu/inet/ldap/AttributeValues.java:1.3-1.4 
libraries/javalib/gnu/inet/ldap/BERConstants.java:1.3-1.4 
libraries/javalib/gnu/inet/ldap/BERDecoder.java:1.4-1.5 
libraries/javalib/gnu/inet/ldap/BEREncoder.java:1.4-1.5 
libraries/javalib/gnu/inet/ldap/BERException.java:1.3-1.4 
libraries/javalib/gnu/inet/ldap/LDAPConnection.java:1.4-1.5 
libraries/javalib/gnu/inet/ldap/LDAPResult.java:1.3-1.4 
libraries/javalib/gnu/inet/ldap/Modification.java:1.3-1.4 
libraries/javalib/gnu/inet/ldap/ResultHandler.java:1.3-1.4 
libraries/javalib/gnu/inet/nntp/ActiveTime.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/ActiveTimesIterator.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/ArticleNumberIterator.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/ArticleResponse.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/ArticleStream.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/FileNewsrc.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/Group.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/GroupIterator.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/GroupResponse.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/HeaderEntry.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/HeaderIterator.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/LineIterator.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/NNTPConnection.java:1.6-1.7 
libraries/javalib/gnu/inet/nntp/NNTPConstants.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/NNTPException.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/Newsrc.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/Overview.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/OverviewIterator.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/Pair.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/PairIterator.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/PendingData.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/PostStream.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/Range.java:1.5-1.6 
libraries/javalib/gnu/inet/nntp/StatusResponse.java:1.5-1.6 
libraries/javalib/gnu/inet/pop3/POP3Connection.java:1.6-1.7 
libraries/javalib/gnu/inet/smtp/Parameter.java:1.6-1.7 
libraries/javalib/gnu/inet/smtp/ParameterList.java:1.6-1.7 
libraries/javalib/gnu/inet/smtp/SMTPConnection.java:1.8-1.9 
libraries/javalib/gnu/inet/util/BASE64.java:1.9-1.10 
libraries/javalib/gnu/inet/util/CRLFInputStream.java:1.10-1.11 
libraries/javalib/gnu/inet/util/CRLFOutputStream.java:1.6-1.7 
libraries/javalib/gnu/inet/util/EmptyX509TrustManager.java:1.6-1.7 
libraries/javalib/gnu/inet/util/GetLocalHostAction.java:1.6-1.7 
libraries/javalib/gnu/inet/util/LineInputStream.java:1.8-1.9 
libraries/javalib/gnu/inet/util/Logger.java:1.6-1.7(DEAD) 

Re: [kaffe] CVS kaffe (robilad): Updated jikes recommendation to 1.22

2005-07-06 Thread Ito Kazumitsu
Hi,

 +The preferred compiler is jikes. The URL for jikes is:
 +
 +  http://www10.software.ibm.com/developerworks/opensource/jikes/

I have found that Jikes' home has moved to http://jikes.sourceforge.net/

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Updated URL for jikes in docs

2005-07-06 Thread Kaffe CVS
PatchSet 6711 
Date: 2005/07/07 00:40:11
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Updated URL for jikes in docs

2005-07-07  Dalibor Topic  [EMAIL PROTECTED]

* FAQ/FAQ.classlibrary-compile: Updated URL for jikes.

Reported by:  Ito Kazumitsu  [EMAIL PROTECTED]

Members: 
ChangeLog:1.4235-1.4236 
FAQ/FAQ.classlibrary-compile:1.19-1.20 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4235 kaffe/ChangeLog:1.4236
--- kaffe/ChangeLog:1.4235  Thu Jul  7 00:37:54 2005
+++ kaffe/ChangeLog Thu Jul  7 00:40:11 2005
@@ -1,5 +1,11 @@
 2005-07-07  Dalibor Topic  [EMAIL PROTECTED]
 
+   * FAQ/FAQ.classlibrary-compile: Updated URL for jikes.
+
+   Reported by:  Ito Kazumitsu  [EMAIL PROTECTED]
+
+2005-07-07  Dalibor Topic  [EMAIL PROTECTED]
+
 * THIRDPARTY: Updated to DNSJava 2.0.0.
 
 * libraries/javalib/org/xbill/DNS/A6Record.java,
Index: kaffe/FAQ/FAQ.classlibrary-compile
diff -u kaffe/FAQ/FAQ.classlibrary-compile:1.19 
kaffe/FAQ/FAQ.classlibrary-compile:1.20
--- kaffe/FAQ/FAQ.classlibrary-compile:1.19 Wed Jul  6 21:18:27 2005
+++ kaffe/FAQ/FAQ.classlibrary-compile  Thu Jul  7 00:40:20 2005
@@ -65,7 +65,7 @@
 
 The preferred compiler is jikes. The URL for jikes is:
 
-  http://www10.software.ibm.com/developerworks/opensource/jikes/
+  http://jikes.sf.net/
 
 Please note that jikes 1.14 and 1.15 have bugs that result in a
 miscompiled Klasses.jar file.

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] cross compile erroer - config.log

2005-07-06 Thread toodulli
Thank you for your help...
attach config.log file...
What's the problem?


[EMAIL PROTECTED] wrote:
 Hi...all.
 I want to cross compile for arm architecture.
 But, When configuring, saw the error messages.

 [EMAIL PROTECTED] kaffe-1.1.4]# CC=arm-linux-gcc NM=arm-linux-nm 
 AR=arm-linux-ar
 ./configure --host=arm-linux --build=i686-linux
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking for arm-linux-strip... arm-linux-strip
 checking whether to enable maintainer-specific portions of Makefiles...
 no
 checking for arm-linux-gcc... arm-linux-gcc
 checking for C compiler default output file name... configure: error:
C
 compiler cannot create executables
 See 'config.log' for more details.

Hi,

that looks odd. What does config.log say about arm-linux-gcc?

cheers,
dalibor topic

=
 config.log 

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Kaffe Virtual Machine configure 1.1.4, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --host=arm-linux --build=i686-linux

## - ##
## Platform. ##
## - ##

hostname = sadaebu
uname -m = i686
uname -r = 2.4.20-8
uname -s = Linux
uname -v = #1 Thu Mar 13 17:54:28 EST 2003

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = i686
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin
PATH: /root/bin
PATH: /usr/local/lib
PATH: /home/toodulli/jam/bin.linuxx86
PATH: /home/toodulli/jamjar
PATH: /usr/local/kaffe/bin
PATH: /root/bin
PATH: /usr/local/lib
PATH: /usr/local/kaffe/bin
PATH: /home/toodulli/TB-X/Tynux/bin


## --- ##
## Core tests. ##
## --- ##

configure:1679: checking for a BSD-compatible install
configure:1734: result: /usr/bin/install -c
configure:1745: checking whether build environment is sane
configure:1788: result: yes
configure:1845: checking for gawk
configure:1861: found /bin/gawk
configure:1871: result: gawk
configure:1881: checking whether make sets $(MAKE)
configure:1901: result: yes
configure:1980: checking for arm-linux-strip
configure:1996: found /home/toodulli/TB-X/Tynux/bin/arm-linux-strip
configure:2006: result: arm-linux-strip
configure:2068: checking whether to enable maintainer-specific portions
of Makefiles
configure:2077: result: no
configure:2139: checking for arm-linux-gcc
configure:2165: result: arm-linux-gcc
configure:2447: checking for C compiler version
configure:2450: arm-linux-gcc --version /dev/null 5
2.95.3
configure:2453: $? = 0
configure:2455: arm-linux-gcc -v /dev/null 5
Using builtin specs.
gcc version 2.95.3 20010315 (release)
configure:2458: $? = 0
configure:2460: arm-linux-gcc -V /dev/null 5
arm-linux-gcc: argument to `-V' is missing
configure:2463: $? = 1
configure:2486: checking for C compiler default output file name
configure:2489: arm-linux-gccconftest.c   5
arm-linux-gcc: installation problem, cannot exec `cpp0': No such file or
directory
configure:2492: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME Kaffe Virtual Machine
| #define PACKAGE_TARNAME kaffe
| #define PACKAGE_VERSION 1.1.4
| #define PACKAGE_STRING Kaffe Virtual Machine 1.1.4
| #define PACKAGE_BUGREPORT kaffe@kaffe.org
| #define PACKAGE kaffe
| #define VERSION 1.1.4
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2531: error: C compiler cannot create executables
See `config.log' for more details.

##  ##
## Cache variables. ##
##  ##

ac_cv_env_CC_set=set
ac_cv_env_CC_value=arm-linux-gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-linux
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-linux
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=arm-linux-gcc
ac_cv_prog_STRIP=arm-linux-strip
ac_cv_prog_make_make_set=yes

## - ##
## Output variables. ##
## - ##

ACLOCAL='${SHELL} 

Re: [kaffe] CVS kaffe (robilad): Updated jikes recommendation to 1.22

2005-07-06 Thread Dalibor Topic
Ito Kazumitsu wrote:
 Hi,
 
 
+The preferred compiler is jikes. The URL for jikes is:
+
+  http://www10.software.ibm.com/developerworks/opensource/jikes/
 
 
 I have found that Jikes' home has moved to http://jikes.sourceforge.net/
 

thanks! I've updated the docs to point to jikes.sf.net.

cheers,
dalibor topic

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] cross compile erroer - config.log

2005-07-06 Thread Dalibor Topic
[EMAIL PROTECTED] wrote:

 configure:2486: checking for C compiler default output file name
 configure:2489: arm-linux-gccconftest.c   5
 arm-linux-gcc: installation problem, cannot exec `cpp0': No such file or
 directory

It does not seem that your arm compiler was successfully installed, as
it can not create executables, apparently. You may want to try
reinstalling it.

cheers,
dalibor topic

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Resynced with gnu classpath: swing, awt and xslt fixes

2005-07-06 Thread Kaffe CVS
PatchSet 6712 
Date: 2005/07/07 02:18:56
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with gnu classpath: swing, awt and xslt fixes

Members: 
ChangeLog:1.4236-1.4237 
libraries/javalib/gnu/xml/transform/StreamSerializer.java:1.7-1.8 
libraries/javalib/gnu/xml/xpath/EqualityExpr.java:1.5-1.6 
libraries/javalib/javax/swing/AbstractButton.java:1.17-1.18 
libraries/javalib/javax/swing/JTree.java:1.20-1.21 
libraries/javalib/javax/swing/plaf/basic/BasicBorders.java:1.3-1.4 
libraries/javalib/javax/swing/plaf/basic/BasicTreeUI.java:1.6-1.7 

libraries/javalib/javax/swing/tree/DefaultTreeCellRenderer.java:1.6-1.7 

libraries/javalib/javax/swing/tree/DefaultTreeSelectionModel.java:1.12-1.13 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4236 kaffe/ChangeLog:1.4237
--- kaffe/ChangeLog:1.4236  Thu Jul  7 00:40:11 2005
+++ kaffe/ChangeLog Thu Jul  7 02:18:56 2005
@@ -1,5 +1,63 @@
 2005-07-07  Dalibor Topic  [EMAIL PROTECTED]
 
+   Resynced with GNU classpath.
+
+   2005-07-06  David Gilbert  [EMAIL PROTECTED]
+
+* javax/swing/plaf/basic/BasicBorders.java: fixed API docs all over.
+
+   2005-07-06  Chris Burdess  [EMAIL PROTECTED]
+
+* gnu/xml/transform/StreamSerializer.java,
+gnu/xml/xpath/EqualityExpr.java: XSLT conformance fixes.
+
+   2005-07-06  Lillian Angel  [EMAIL PROTECTED]
+
+* javax/swing/plaf/basic/BasicTreeUI.java
+(getPathForRow): took out redundant code.
+
+   2005-07-06  Lillian Angel  [EMAIL PROTECTED]
+
+* javax/swing/plaf/basic/BasicTreeUI.java
+(getNextVisibleNode): Implemented
+(getPathForRow): Fixed so the next node retrieved is visible.
+
+   2005-07-06  Lillian Angel  [EMAIL PROTECTED]
+
+* javax/swing/JTree.java
+Initialized the Hashtable.
+(addSelectionPath): removed redundant code.
+(doExpandParents): added in line so that state is
+changed for current path. Changed while loop to if
+statement, an infinite loop was occurring.
+* javax/swing/plaf/basic/BasicTreeUI.java
+(getPathForRow): Implemented to work with visibility.
+(isLeaf): Implemented
+(mouseClicked): add in check for expand/collapse.
+Selection for DISCONTIGUOUS tree selection is
+implemented.
+(treeExpanded): called repaint, so the tree updates
+visually when something is expanded.
+(treeCollapse): Similar to treeExpanded.
+(paintLeaf): changed to paint leaf only when visible.
+(paintNonLeaf): paints only when visible.
+(paintRecursive): lines for tree are only painted when
+needed. checked for visibility of current object and
+parent.
+* javax/swing/tree/DefaultTreeCellRenderer.java
+(getTreeCellRendererComponent): setting icons when
+expanded.
+* javax/swing/tree/DefaultTreeSelectionModel.java
+(clearSelection): set leadPath to null because selection
+should be completely reset.
+
+   2005-07-06  Roman Kennke  [EMAIL PROTECTED]
+
+* javax/swing/AbstractButton.java
+(setContentAreaFilled): Set the opaque property here.
+
+2005-07-07  Dalibor Topic  [EMAIL PROTECTED]
+
* FAQ/FAQ.classlibrary-compile: Updated URL for jikes.
 
Reported by:  Ito Kazumitsu  [EMAIL PROTECTED]
Index: kaffe/libraries/javalib/gnu/xml/transform/StreamSerializer.java
diff -u kaffe/libraries/javalib/gnu/xml/transform/StreamSerializer.java:1.7 
kaffe/libraries/javalib/gnu/xml/transform/StreamSerializer.java:1.8
--- kaffe/libraries/javalib/gnu/xml/transform/StreamSerializer.java:1.7 Mon Jul 
 4 00:05:57 2005
+++ kaffe/libraries/javalib/gnu/xml/transform/StreamSerializer.java Thu Jul 
 7 02:19:01 2005
@@ -627,15 +627,30 @@
 text = buf.toString();
   }
 ByteBuffer encoded = encoder.encode(CharBuffer.wrap(text));
+int len = encoded.limit() - encoded.position();
 if (encoded.hasArray())
   {
-return encoded.array();
+byte[] ret = encoded.array();
+if (ret.length  len)
+  {
+// Why?
+byte[] ret2 = new byte[len];
+System.arraycopy(ret, 0, ret2, 0, len);
+ret = ret2;
+  }
+return ret;
   }
 encoded.flip();
-int len = encoded.limit() - encoded.position();
 byte[] ret = new byte[len];
 encoded.get(ret, 0, len);
 return ret;
+  }
+
+  String hex(byte[] b) {
+StringBuffer buf = new StringBuffer();
+for (int i = 0; i  b.length; i++)
+  buf.append(Integer.toHexString(b[i])).append(' ');
+return buf.toString();
   }
 
   String encode(String text, boolean encodeCtl, boolean inAttr)
Index: kaffe/libraries/javalib/gnu/xml/xpath/EqualityExpr.java
diff -u kaffe/libraries/javalib/gnu/xml/xpath/EqualityExpr.java:1.5 
kaffe/libraries/javalib/gnu/xml/xpath/EqualityExpr.java:1.6
--- 

[kaffe] CVS kaffe (robilad): Fixed crash with -jar

2005-07-06 Thread Kaffe CVS
PatchSet 6713 
Date: 2005/07/07 03:08:31
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed crash with -jar

2005-07-07  Dalibor Topic  [EMAIL PROTECTED]

* kaffe/kaffe/main.c (main): Duplicate classpath string received from 
getenv
in order to be able to free it later.

Members: 
ChangeLog:1.4237-1.4238 
kaffe/kaffe/main.c:1.86-1.87 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4237 kaffe/ChangeLog:1.4238
--- kaffe/ChangeLog:1.4237  Thu Jul  7 02:18:56 2005
+++ kaffe/ChangeLog Thu Jul  7 03:08:31 2005
@@ -1,5 +1,10 @@
 2005-07-07  Dalibor Topic  [EMAIL PROTECTED]
 
+   * kaffe/kaffe/main.c (main): Duplicate classpath string received from 
getenv
+   in order to be able to free it later.
+
+2005-07-07  Dalibor Topic  [EMAIL PROTECTED]
+
Resynced with GNU classpath.
 
2005-07-06  David Gilbert  [EMAIL PROTECTED]
Index: kaffe/kaffe/kaffe/main.c
diff -u kaffe/kaffe/kaffe/main.c:1.86 kaffe/kaffe/kaffe/main.c:1.87
--- kaffe/kaffe/kaffe/main.c:1.86   Fri Jun 24 13:02:28 2005
+++ kaffe/kaffe/kaffe/main.cThu Jul  7 03:08:36 2005
@@ -130,7 +130,7 @@
}
 #endif
}
-   vmargs.classpath = cp;
+   vmargs.classpath = strdup(cp);
 
 cp = getenv(LIBRARYPATH1);
if (cp == 0) {

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] cross compile erroer - config.log

2005-07-06 Thread Kiyo Inaba
Dalibor wrote:
[EMAIL PROTECTED] wrote:

 configure:2486: checking for C compiler default output file name
 configure:2489: arm-linux-gccconftest.c   5
 arm-linux-gcc: installation problem, cannot exec `cpp0': No such file or
 directory

It does not seem that your arm compiler was successfully installed, as
it can not create executables, apparently. You may want to try
reinstalling it.

Yes, and before trying to run configure of kaffe, it is clever idea
to compile some simple program :-)

According to the original log, it looks like there is arm-linux-gcc
(since -v works) but no corresponding library directories, I think.

Kiyo

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe