Subject: Re: Problems with kaffe-0.9.2 under 1.2G (i386)
To: Jochen Pohl <jpo@EasternGraphics.com>
From: John C. Hayward <John.C.Hayward@wheaton.edu>
List: current-users
Date: 01/01/1998 13:07:13
Dear Jochen,
Thanks for your note. I have been able to use kaffe-0.9.2 with your
modification succesfully. I'm not sure how to get these changes
integrated into the kaffe-0.9.2 release. At any rate it should show up in
the archive so other NetBSDers won't have the same problems I had.
I adjusted md.h and native.h and rebuild and am running kaffe-0.9.2
I did not try the config for static libs.
Thanks again for your note.
johnh...
On Fri, 26 Dec 1997, Jochen Pohl wrote:
> I used the following diffs to compile and run kaffe-0.9.2. However,
> I haven't used it much, so there may be other important bugs
> under NetBSD.
>
> The changes to configure are needed only to compile with static libs.
>
> jpo
>
>
> --- kaffe-0.9.2/config/i386/netbsd1/.%%md.h%% Fri Dec 12 00:48:07 1997
> +++ kaffe-0.9.2/config/i386/netbsd1/md.h Fri Dec 12 00:48:37 1997
> @@ -16,6 +16,12 @@
> #include "i386/common.h"
> #include "i386/threads.h"
>
> +/*
> + * Redefine stack pointer offset.
> + */
> +#undef SP_OFFSET
> +#define SP_OFFSET 2
> +
> #if defined(TRANSLATOR)
> #include "jit-md.h"
> #endif
> --- kaffe-0.9.2/include/.%%native.h%% Thu Dec 11 23:45:48 1997
> +++ kaffe-0.9.2/include/native.h Thu Dec 11 23:46:28 1997
> @@ -20,6 +20,7 @@
> #define __NORETURN__
> #endif
>
> +#include <stddef.h>
> #include <jtypes.h>
>
> struct _methods;
> --- kaffe-0.9.2/.%%configure%% Thu Dec 11 23:55:42 1997
> +++ kaffe-0.9.2/configure Thu Dec 11 23:56:03 1997
> @@ -4692,9 +4692,9 @@
> EOF
>
> NOSHAREDLIBS=" \
> --L../../packages/tjwassoc.co.uk/APIcore/lib -lkaffe_native \
> --L../../packages/tjwassoc.co.uk/APInet/lib -lkaffe_net \
> --L../../packages/tjwassoc.co.uk/APIzip/lib -lkaffe_zip \
> +-L../../packages/tjwassoc.co.uk/APIcore/lib -lnative \
> +-L../../packages/tjwassoc.co.uk/APInet/lib -lnet \
> +-L../../packages/tjwassoc.co.uk/APIzip/lib -lzip \
> "
>
> if test -f $srcdir/packages/javasoft.com/Makefile.in ; then
> @@ -4721,7 +4721,7 @@
> packages/biss-net.com/APIawt/lib/Makefile \
> "
> NOSHAREDLIBS="$NOSHAREDLIBS \
> - -L../../packages/biss-net.com/APIawt/lib -lkaffe_bissawt \
> + -L../../packages/biss-net.com/APIawt/lib -lbissawt \
> "
> fi
>
> @@ -4734,7 +4734,7 @@
> packages/epfl.ch/APIawt/lib/Makefile \
> "
> NOSHAREDLIBS="$NOSHAREDLIBS \
> - -L../../packages/epfl.ch/APIawt/lib -lkaffe_sawt \
> + -L../../packages/epfl.ch/APIawt/lib -lsawt \
> "
> fi
> NOSHAREDLIBS="$NOSHAREDLIBS $X_LIBRARIES"
> --- kaffe-0.9.2/.%%configure.in%% Thu Dec 11 23:55:07 1997
> +++ kaffe-0.9.2/configure.in Thu Dec 11 23:55:39 1997
> @@ -942,9 +942,9 @@
> changequote([, ])dnl
> AC_DEFINE(HAVE_PACKAGE_TJWASSOC_CO_UK)
> NOSHAREDLIBS=" \
> --L../../packages/tjwassoc.co.uk/APIcore/lib -lkaffe_native \
> --L../../packages/tjwassoc.co.uk/APInet/lib -lkaffe_net \
> --L../../packages/tjwassoc.co.uk/APIzip/lib -lkaffe_zip \
> +-L../../packages/tjwassoc.co.uk/APIcore/lib -lnative \
> +-L../../packages/tjwassoc.co.uk/APInet/lib -lnet \
> +-L../../packages/tjwassoc.co.uk/APIzip/lib -lzip \
> "
>
> changequote(<<, >>)dnl
> @@ -975,7 +975,7 @@
> packages/biss-net.com/APIawt/lib/Makefile \
> "
> NOSHAREDLIBS="$NOSHAREDLIBS \
> - -L../../packages/biss-net.com/APIawt/lib -lkaffe_bissawt \
> + -L../../packages/biss-net.com/APIawt/lib -lbissawt \
> "
> fi
>
> @@ -989,7 +989,7 @@
> packages/epfl.ch/APIawt/lib/Makefile \
> "
> NOSHAREDLIBS="$NOSHAREDLIBS \
> - -L../../packages/epfl.ch/APIawt/lib -lkaffe_sawt \
> + -L../../packages/epfl.ch/APIawt/lib -lsawt \
> "
> fi
> NOSHAREDLIBS="$NOSHAREDLIBS $X_LIBRARIES"
>