compiling Kaffe for win32 !

Pavel.Roskin at Pavel.Roskin at
Fri Aug 14 09:21:54 PDT 1998


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