compiling Kaffe for win32 !

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




Hello!

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
ftp://ftp.cygnus.com/pub/home/tromey/automake-1.3b.tar.gz
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
--with-threads=unix-internal
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
linked.
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
it.

Pavel Roskin <pavel.roskin at ecsoft.co.uk>




More information about the kaffe mailing list