Problems with kaffe-0.10.0 on OpenStep

Aleksey Sudakov zander at RelevantKnowledge.COM
Wed Apr 1 15:15:18 PST 1998


Hi,

Sorry for the previous message that by mistake was sent as a NeXT Mail.

Alright, I figured out how to fix static compilation on OpenStep. One needs  
to grab gmp.2.0.2.pl2.NIHS.tar.gz from NeXT ftp archives and install the  
package. Then add -I/usr/local/includes to INCLUDES in  
libraries/clib/math/Makefile.

The following I guess applies to static compilation on all platforms:

Modify line 32 in external.c to read
#include "../../libraries/clib/external_native.h"
instead of
#include "../../packages/external_native.h"

After these steps compilation of kaffe-0.10.0 on i386 will fail at the same  
spot for every configuration ( with or without --enable-staticlib and  
--with-engine={intrp|jit} ). The spot is

cc -g -seglinkedit -all_load -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I.  
-I. -I./../../config -I../../config -I../../include -I./../../include  
-DINTERPRETER -I./intrp   -DKVER=\"0.100\"  -c  support.c
/usr/tmp/cc018554.s:1270<perands given don't match any known 386 instruction
/usr/tmp/cc018554.s:1275<perands given don't match any known 386 instruction
/usr/tmp/cc018554.s:1281<perands given don't match any known 386 instruction
/usr/tmp/cc018554.s:1851<perands given don't match any known 386 instruction
/usr/tmp/cc018554.s:1856<perands given don't match any known 386 instruction
/usr/tmp/cc018554.s:1862<perands given don't match any known 386 instruction

Anybody have an idea what is wrong with this?

Regards,
Aleksey

P.S. I think the fact that kaffe-0.10.0 requires GMP should be stated on the  
web site or at least in README, because not every platform has it in default  
installation.



More information about the kaffe mailing list