Compiling kaffe for NeXT 3.3

Gregor Hoffleit flight at mathi.uni-heidelberg.DE
Sun Feb 16 14:46:33 PST 1997


Peter Rasmussen wrote:
    I am currently compiling Kaffe-0.7.1 .... but am hanging some
    on a single error in kaffevm/thread.c  line 687


Try going with kaffe 0.8.0. Compiles fine with NEXTSTEP. You may have to  
apply the following patch to cheat NeXT's cc:


--- kaffe/kaffevm/classMethod.c.ORIG	Mon Feb 10 22:58:36 1997
+++ kaffe/kaffevm/classMethod.c	Mon Feb 10 22:58:39 1997
@@ -406,7 +406,7 @@
 		}
 		/* No match found so allocate a new index number */
 		meth->idx = class->msize++;
-		foundmatch:
+		foundmatch: {}
 	}

 	class->dtable = (dispatchTable*)gc_malloc(sizeof(dispatchTable) +  
(class->msize * sizeof(void*)), GC_NORMAL);




More information about the kaffe mailing list