Porting Kaffe to OS/2

Mikael Ståldal d96-mst at ingen.reklam.nada.kth.se
Wed Oct 1 06:42:59 PDT 1997

I'm trying to port Kaffe to OS/2 (an i386 platform) using the EMX compiler
(GCC port). I have encountered some problems.

Some different header files differ only in case, and since the file system
in OS/2 isn't case sensitive this causes clashes. String.h clashes with the
standard string.h and System.h clashes with Kaffe's system.h.

Make doesn't find machine.c in the interp subdirectory, how is it supposed
to find it there? I'm using GNU Make 3.75. When I copied it to kaffevm it
works. The same problem with the package directoris in packages.

When I copied files from the packages, things broke due to "../../.." style
#include directives that I hade to change manually. Try to avoid using ".."
in #include directives.

I get the following error:

make[1]: Entering directory `/UNIX/kaffe/kaffe/kaffevm'
gcc -g -O -Zexe -DNO_SHARED_LIBRARIES -I. -I. -I./../../config -I../../config -I../../include -I./../../include -DINTERPRETER -I./intrp   -DKVER=\"0.91\" -c  machine.c
machine.c: In function `virtualMachine':
machine.c:141: structure has no member named `exception_table_len'
machine.c:152: structure has no member named `ins'
machine.c:178: structure has no member named `code'
machine.c:182: structure has no member named `codelen'
make[1]: *** [machine.o] Error 1
make[1]: Leaving directory `/UNIX/kaffe/kaffe/kaffevm'
make: *** [all] Error 1

When I look at the structure, it has no exception_table_len member. How is
this supposed to works?

* You have just read a message from Mikael Ståldal.              *
*                                                                *
* Remove "ingen.reklam." from the address before mail replying.  *

More information about the kaffe mailing list