Problems with kaffe-0.10.0 on OpenStep

Chris Ochs chris at valleynet.net
Fri Apr 3 07:59:29 PST 1998



Cool, that did it on bsdi 2.1.

Thanks,

Chris

On Thu, 2 Apr 1998 jso at lyngso-industri.dk wrote:

> 
> >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?
> 
> 
> In config/i386/common.h (and config/i386/qnx/md.h) there are some
> cmp instructions that compares a register with immediate character
> values. The version of gas that I have (1.38) seems to not like the
> syntax used for this. If the instruction is changed to use hex values
> instead, the problem goes away. So to fix, change:
> 
> 	 cmpb $'D',%%cl    ->     cmpb $0x44,%%cl
> 	 cmpb $'J',%%cl    ->     cmpb $0x4a,%%cl
> 	 cmpb $'F',%%cl    ->     cmpb $0x46,%%cl
> 
> Jeppe
> 
> 
> 



More information about the kaffe mailing list