Subject: kaffe on NetBSD/pmax
To: None <port-pmax@NetBSD.org>
From: Thomas Graichen <graichen@innominate.de>
List: port-pmax
Date: 06/14/1999 09:07:22
here are the required changes to kaffe to get it built and running
on NetBSD/pmax 1.4 as patches for the 1.4 pkgsrc tree - but they
should also apply to 1.0b4 - can please someone have a look at
them and say it that is ok that way so that they might get
part of the official kaffe distrib (thus the cc to tim
:-) - all is relatively trivial - but without it you
won't get kaffe even built ...


--- config/mips/netbsd1/md.h.org	Sun Jun 13 19:47:28 1999
+++ config/mips/netbsd1/md.h	Sun Jun 13 22:05:22 1999
@@ -12,6 +12,13 @@
 #ifndef __mips_netbsd1_md_h
 #define __mips_netbsd1_md_h
 
+#define _MIPS_SIM _MIPS_SIM_ABI32
+
+#include "mips/common.h"
 #include "mips/threads.h"
+
+#undef  SP_OFFSET
+
+#define SP_OFFSET       32
 
 #endif



--- config/mips/netbsd1/md.c.org	Sun Jun 13 19:48:09 1999
+++ config/mips/netbsd1/md.c	Sun Jun 13 19:55:42 1999
@@ -8,3 +8,9 @@
  * See the file "license.terms" for information on usage and redistribution 
  * of this file. 
  */
+
+#define _MIPS_SIM _MIPS_SIM_ABI32
+
+#include "mips/common.h"
+
+#include "mips/mips.c"


t

-- 
graichen@innominate.de
                                                      innominate GmbH
                                                    networking people
fon: +49.30.308806-13 fax: -77 web: http://innominate.de pgp: /pgp/tg