[kaffe] Two question about use gcj precompiled
Hi all, I'm trying to use gcj precompiled. I have 2 question when I do it. 1 Refer to FAQ.gcj, I have to use the fixup create a so-called fixup module. But I don't compile fixup. the compile information as follow: # gcc -o fixup fixup.c fixup.c:395: error: missing terminating character In file included from fixup.c:396: /usr/include/unistd.h:226: error: expected expression before 'typedef' fixup.c:398: error: stray '\' in program fixup.c:398: error: missing terminating character fixup.c:400: error: missing terminating character fixup.c:443:1: error: pasting , and JV_PREFIX does not give a valid preprocessing token fixup.c:446:1: error: pasting , and CLASS_PREFIX does not give a valid preprocessing token fixup.c:449:1: error: pasting , and VTABLE_PREFIX does not give a valid preprocessing token /// 2. Refer to FAQ.gcj How do I compile Kaffe's class libraries?, if I want to compile kaffe's class libraries, I have to create .o file for all class files of glibj.zip and kaffe-vminterface.jar. I don't know if kaffe need else file. Thanks and Regards, Libo ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] Re: kaffe 1.1.9 Spring Cleanup relased
Jim Pick wrote: Excellent. I'll try to get it up on the website on Sunday (I have out-of-town visitors until then). Have fun at FOSDEM! It was great! Back home now, and wading through the mail and bug reports. cheers, dalibor topic ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] Testing sysdepCallMethod
Sivaramakrishnan KC wrote: How do i test sysdepCallMethod(). I found this file http://www.kaffe.org/pipermail/kaffe/2003-May/129976.html I am testing sysdepCallMethod under i386-linux. It passes the first test -- CALL(f_v_v, v, 0);. But all other test generates segmentation fault. I'd prefer to switch Kaffe over to depend on libffi [0]. We already have support for libffi in the code that's enabled with the --with-libffi option of the configure script. The main reason I'd like to switch to libffi for the next release is that it can be collaboratively maintained with other projects using it, so I'd suggest adapting it for your port (and sending patches to libffi developers :). It comes with an extensive test suite, too (and requires dejagnu for running the test suite). cheers, dalibor topic [0] http://sources.redhat.com/libffi/ ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (robilad): updated version to 1.1.10-pre
PatchSet 7770 Date: 2008/02/27 00:20:55 Author: robilad Branch: HEAD Tag: (none) Log: updated version to 1.1.10-pre 2008-02-27 Dalibor Topic [EMAIL PROTECTED] * configure.ac, RELEASE-NOTES, README, WHATSNEW: Updated. Members: ChangeLog:1.5270-1.5271 README:1.50-1.51 RELEASE-NOTES:1.18-1.19 WHATSNEW:1.77-1.78 configure:1.642-1.643 configure.ac:1.312-1.313 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.5270 kaffe/ChangeLog:1.5271 --- kaffe/ChangeLog:1.5270 Fri Feb 22 07:27:36 2008 +++ kaffe/ChangeLog Wed Feb 27 00:20:55 2008 @@ -1,3 +1,7 @@ +2008-02-27 Dalibor Topic [EMAIL PROTECTED] + + * configure.ac, RELEASE-NOTES, README, WHATSNEW: Updated. + 2008-02-22 Dalibor Topic [EMAIL PROTECTED] * configure.ac, RELEASE-NOTES, README: Updated. Index: kaffe/README diff -u kaffe/README:1.50 kaffe/README:1.51 --- kaffe/README:1.50 Fri Feb 22 07:27:37 2008 +++ kaffe/READMEWed Feb 27 00:20:55 2008 @@ -1,7 +1,7 @@ === - Kaffe 1.1.9 + Kaffe 1.1.10-pre === Index: kaffe/RELEASE-NOTES diff -u kaffe/RELEASE-NOTES:1.18 kaffe/RELEASE-NOTES:1.19 --- kaffe/RELEASE-NOTES:1.18Fri Feb 22 07:27:37 2008 +++ kaffe/RELEASE-NOTES Wed Feb 27 00:20:55 2008 @@ -1,11 +1,11 @@ -Release Notes for 1.1.9 -=== +Release Notes for 1.1.10-pre + -Release 1.1.9 of Kaffe is a development release. +Release 1.1.10-pre of Kaffe is a development release. It has been tested, but not as thoroughly as a production release would be. It contains major -improvements over 1.1.8, which was released 5 +improvements over 1.1.9, which was released X months ago. I anticipate that most people will have less trouble with this release, and more fun. Index: kaffe/WHATSNEW diff -u kaffe/WHATSNEW:1.77 kaffe/WHATSNEW:1.78 --- kaffe/WHATSNEW:1.77 Fri Feb 22 07:27:37 2008 +++ kaffe/WHATSNEW Wed Feb 27 00:20:55 2008 @@ -1,3 +1,7 @@ +What's New Since Kaffe 1.1.9 + + + What's New In Kaffe 1.1.9 Index: kaffe/configure diff -u kaffe/configure:1.642 kaffe/configure:1.643 --- kaffe/configure:1.642 Fri Feb 22 07:27:37 2008 +++ kaffe/configure Wed Feb 27 00:20:55 2008 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.61 for Kaffe Virtual Machine 1.1.9. +# Generated by GNU Autoconf 2.61 for Kaffe Virtual Machine 1.1.10-pre. # # Report bugs to kaffe@kaffe.org. # @@ -751,8 +751,8 @@ # Identity of this package. PACKAGE_NAME='Kaffe Virtual Machine' PACKAGE_TARNAME='kaffe' -PACKAGE_VERSION='1.1.9' -PACKAGE_STRING='Kaffe Virtual Machine 1.1.9' +PACKAGE_VERSION='1.1.10-pre' +PACKAGE_STRING='Kaffe Virtual Machine 1.1.10-pre' PACKAGE_BUGREPORT='kaffe@kaffe.org' ac_unique_file=kaffe @@ -1563,7 +1563,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat _ACEOF -\`configure' configures Kaffe Virtual Machine 1.1.9 to adapt to many kinds of systems. +\`configure' configures Kaffe Virtual Machine 1.1.10-pre to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1637,7 +1637,7 @@ if test -n $ac_init_help; then case $ac_init_help in - short | recursive ) echo Configuration of Kaffe Virtual Machine 1.1.9:;; + short | recursive ) echo Configuration of Kaffe Virtual Machine 1.1.10-pre:;; esac cat \_ACEOF @@ -1830,7 +1830,7 @@ test -n $ac_init_help exit $ac_status if $ac_init_version; then cat \_ACEOF -Kaffe Virtual Machine configure 1.1.9 +Kaffe Virtual Machine configure 1.1.10-pre generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1867,7 +1867,7 @@ 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 $as_me 1.1.9, which was +It was created by Kaffe Virtual Machine $as_me 1.1.10-pre, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ @@ -2652,7 +2652,7 @@ # Define the identity of the package. PACKAGE='kaffe' - VERSION='1.1.9' + VERSION='1.1.10-pre' cat confdefs.h _ACEOF @@ -43322,7 +43322,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log= -This file was extended by Kaffe Virtual Machine $as_me 1.1.9, which was +This file was extended by Kaffe Virtual Machine $as_me 1.1.10-pre, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES= $CONFIG_FILES @@ -43379,7 +43379,7 @@ _ACEOF cat $CONFIG_STATUS _ACEOF ac_cs_version=\\ -Kaffe Virtual Machine config.status
[kaffe] CVS kaffe (robilad): moved 1.1.9 changelog over to ChangeLog.20
PatchSet 7771 Date: 2008/02/27 00:32:14 Author: robilad Branch: HEAD Tag: (none) Log: moved 1.1.9 changelog over to ChangeLog.20 2008-02-27 Dalibor Topic [EMAIL PROTECTED] * Makefile.am (EXTRA_DIST): Added ChangeLog.20. * ChangeLog.20: New file for the 1.1.9 change log. Members: ChangeLog:1.5271-1.5272 ChangeLog.20:INITIAL-1.1 Makefile.am:1.151-1.152 Makefile.in:1.315-1.316 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.5271 kaffe/ChangeLog:1.5272 --- kaffe/ChangeLog:1.5271 Wed Feb 27 00:20:55 2008 +++ kaffe/ChangeLog Wed Feb 27 00:32:14 2008 @@ -1,2852 +1,12 @@ 2008-02-27 Dalibor Topic [EMAIL PROTECTED] - * configure.ac, RELEASE-NOTES, README, WHATSNEW: Updated. + * Makefile.am (EXTRA_DIST): Added ChangeLog.20. -2008-02-22 Dalibor Topic [EMAIL PROTECTED] + * ChangeLog.20: New file for the 1.1.9 change log. - * configure.ac, RELEASE-NOTES, README: Updated. +2008-02-27 Dalibor Topic [EMAIL PROTECTED] -2008-02-21 Dalibor Topic [EMAIL PROTECTED] +* configure.ac, RELEASE-NOTES, README, WHATSNEW: Updated. - * FAQ/FAQ.cross-compiling: Documented that dependencies need to be - cross compiled first. - -2008-02-21 Dalibor Topic [EMAIL PROTECTED] - - * FAQ/FAQ.requiredlibraries: Added glib. - -2008-02-21 Dalibor Topic [EMAIL PROTECTED] - - * libraries/clib/native/Unsafe.c: New file. - -2008-02-21 Dalibor Topic [EMAIL PROTECTED] - - * configure.ac : Check for glib. - - * kaffe/kaffevm/Makefile.am (AM_CPPFLAGS): Added GLIB_CFLAGS. - (libkaffe_la_LIBADD) Added GLIB_LIBS. - (libkaffevm_la_SOURCES) Added libraries/clib/native/Unsafe.c. - - * kaffe/kaffevm/jit/Makefile.am (AM_CPPFLAGS): Added GLIB_CFLAGS. -(libengine_la_LDFLAGS) Added GLIB_LIBS. - - * kaffe/kaffevm/jit3/Makefile.am (AM_CPPFLAGS): Added GLIB_CFLAGS. -(libengine_la_LDFLAGS) Added GLIB_LIBS. - - * kaffe/kaffevm/jit/methodcalls.c (soft_fixup_trampoline) Use glib atomic functions. - - * kaffe/kaffevm/support.h (KaffeVM_GetFieldAddress): Added declaration. - - * kaffe/kaffevm/support.c (KaffeVM_GetFieldAddress): New helper function, - created from getFieldAddress. - - * libraries/clib/native/Field.c (getFieldAddress): Factored out into - KaffeVM_GetFieldAddress. - - * include/Makefile.am (NOINSTALL_JNI_DERIVED_HDRS): Added sun_misc_Unsafe.h. - -2008-02-20 Dalibor Topic [EMAIL PROTECTED] - - * kaffe/kaffevm/debug.c (kaffe_dprintf): Added missing casts to n. - -2008-02-20 Dalibor Topic [EMAIL PROTECTED] - - * TODO: Updated. - - * include/Makefile.am (MAYBE_ZLIB_ZIP_HDRS): Removed unused headers. - -2008-02-18 Dalibor Topic [EMAIL PROTECTED] - - JIT fixes for ARM. - - * kaffe/kaffevm/exception.c (vmExcept_setJNIFrame): Removed unnecessary assert. - - * kaffe/kaffevm/stackTrace.c (buildStackTrace): Check if a frame shows up twice - on the stack and abort when it does. - -2008-02-17 Dalibor Topic [EMAIL PROTECTED] - - * kaffe/kaffevm/fp.c (doubleDivide): Follow the spec more closely. - - * kaffe/kaffevm/soft.c, kaffe/kaffevm/soft.h (soft_fdivl): - Make the function available to the interpreter. - - * kaffe/kaffevm/intrp/icode.h (div_double): Use soft_fdivl. - -2008-02-16 Dalibor Topic [EMAIL PROTECTED] - - * TODO: Updated. - -2008-02-16 Dalibor Topic [EMAIL PROTECTED] - - * config/config-hacks.h (HAVE_UNALIGNEDACCESS, MSG_PEEK) - (HAVE_DYN_UNDERSTORE, DEFAULT_LIBRARYPATH): Removed unused definitions. - -2008-02-16 Dalibor Topic [EMAIL PROTECTED] - - * kaffe/kaffevm/constants.c (readConstantPool): Use - check_if_need_to_switch_words_in_jdouble instead of checking - if DOUBLE_ORDER_OPPOSITE is defined. - (check_if_need_to_switch_words_in_jdouble): New static helper function. - - * config/config-hacks.h (DOUBLE_ORDER_OPPOSITE): Removed. - -2008-02-16 Dalibor Topic [EMAIL PROTECTED] - - * THIRDPARTY: Added license information for files imported - from GNU Classpath and GCC. - -2008-02-16 Dalibor Topic [EMAIL PROTECTED] - - * libraries/clib/zip/ZipFile.c (java_util_zip_ZipFile_getZipData0) - (java_util_zip_ZipFile_getZipEntries0): Only close entries we've - opened successfully. - -2008-02-15 Dalibor Topic [EMAIL PROTECTED] - - * libraries/clib/zip/ZipFile.c (java_util_zip_ZipFile_getZipEntry0) - (java_util_zip_ZipFile_getZipData0) - (java_util_zip_ZipFile_getZipEntries0), - kaffe/kaffevm/findInJar.c (findClassInJar) - (getManifestMainAttribute), - * kaffe/kaffeh/support.c (kaffeh_findClass): Close opened zip entries - after use. - - Reported by: Ito Kazumitsu [EMAIL PROTECTED] - -2008-02-15 Dalibor Topic [EMAIL PROTECTED] - - * kaffe/kaffevm/jar.h, kaffe/kaffevm/jar.c (lookupJarFile): Removed. - -
[kaffe] [kaffe-announce] Kaffe 1.1.9 Release available for download
I've made the 1.1.9 release of Kaffe available for download at: ftp://ftp.kaffe.org/pub/kaffe/v1.1.x-development/ http://www.kaffe.org/ftp/pub/kaffe/v1.1.x-development/ Kaffe is distributed in source code form only. You can find the source in the .tar.gz, .tar.bz and .zip files. Kaffe is a clean room implementation of the Java virtual machine, plus the associated class libraries needed to provide a Java runtime environment. The Kaffe virtual machine is free software, licensed under the terms of the GNU General Public License. Much thanks goes to Dalibor Topic for running the project and putting this release together! This release of Kaffe is a development release. It has been tested, but not as thoroughly as a production release would be. Check the website at http://kaffe.org/ for information on the mailing list, irc channel, bug tracker, etc. What's New In Kaffe 1.1.9 * Depend on glib for atomic operations * Support for JSR 166. * Depend on zziplib instead of zlib for JAR reading. * Many build system improvements. * Simplified threading subsystem interface. * Removed support for native big math. * Removed libltdl. Kaffe uses an existing installation exclusively now. * Removed gnu-inet, dnsjava, Tritonus and binreloc. * Removed GNU Classpath tools. Kaffe uses an installed javap as javap when it's available. * Removed gjdoc and ANTLR. Kaffe uses an installed gjdoc as javadoc when it's available. * Removed GNU Classpath. Kaffe uses an existing GNU Classpath installation exclusively now. It needs GNU Classpath 0.95 or later. Have fun! Cheers, - Jim Pick ___ kaffe-announce mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe-announce ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe