compiling Kaffe for win32 !

DDunkin at DDunkin at
Thu Aug 20 15:33:34 PDT 1998

I get the following error when I try to do a make after running configure:

BASH.EXE-2.01$ make
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
gcc -g -O2 -I. -I../../../include -I./../../../include -I../../../config
-I./../../../config  -c  Runtime.c -o Runtime.o
In file included from Runtime.c:16:
../../../config/config-io.h:21: invalid macro name
make[3]: *** [Runtime.o] Error 1
make[2]: *** [all] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 1

-----Original Message-----
From: Pavel.Roskin at [mailto:Pavel.Roskin at]
Sent: Friday, August 14, 1998 9:22 AM
To: kaffe at
Subject: RE: compiling Kaffe for win32 !


I have compiled current Kaffe with Cygwin32 and I can run HelloWorldApp.
Following may help you:
1) Get latest config.guess and config.sub from
2) Move contents of config/i386/win32/cygnus to config/i386/cygwin32
3) Change host_os in config/i386/cygwin32/config.frag to cygwin32
(actually, I suppose that this declaration is not needed at all)
4) ./configure --with-staticlib --with-engine=intrp
This would eliminate most problems Kaffe currently has.
5) make
6) correct some minor errors
7) If compiler will ask for some includes, give him netinet/tcp.h (empty is
Ok), jpeg*.h, X11/*.h. Don't worry, neither libjpeg nor X libraries will be
After that you will have Kaffe.exe. If you want to run it from bash, don't
forget, that classpath separator on Windows is ';', don't forget to escape

Pavel Roskin <pavel.roskin at>

More information about the kaffe mailing list