[kaffe] Kaffe without cygwin?
Abhishek Khaitan, Noida
akhaitan at noida.hcltech.com
Wed Jan 8 21:27:01 PST 2003
Thanks a lot for the help! I will try the options and hope that kaffe will
soon start running on my windows.
This document is intended for transmission to the named recipient only. If
you are not that person, you should note that legal rights reside in this
document and you are not authorized to access, read, disclose, copy, use or
otherwise deal with it and any such actions are prohibited and may be
unlawful. The views expressed in this document are not necessarily those of
HCL Technologies Ltd. Notice is hereby given that no representation,
contract or other binding obligation shall be created by this e-mail, which
must be interpreted accordingly. Any representations, contractual rights or
obligations shall be separately communicated in writing and signed in the
original by a duly authorized officer of the relevant company
From: Dalibor Topic [mailto:robilad at yahoo.com]
Sent: Wednesday, January 08, 2003 6:34 PM
To: Abhishek Khaitan, Noida; kaffe at kaffe.org
Subject: Re: [kaffe] Kaffe without cygwin?
--- "Abhishek Khaitan, Noida"
<akhaitan at noida.hcltech.com> wrote:
> Hi !
> I want to run Kaffe on windows NT 4.0 without using
> Cygwin. Please let me
> know how can I achieve this?
You've got a few options. None of them will work out
of the box with the current sources in the CVS.
Use MingW32. Mingw32 is a GNU tools & gcc port to MS
Windows that uses Microsofts MSVCRT.DLL instead of a
GNU libc port. So programs compiled with MingW32 don't
pay the performance penalty you'd pay in Cygwin in
order to emulate a POSIX environment.
There is a kaffe port to MingW32 in the pocketlinux
source tree in kaffe's CVS. Your mission, if you chose
to accept it, would be to merge that port into the
kaffe CVS tree.
It's not as easy as it sounds. The internals of
pocketlinux' kaffe are slightly different from
kaffe.org version. You will need to learn about Win32
threads in order to get the port running.
Unix-jthreads will not work because there is no Unix
environment emulation. That's where I gave up last
time I tried it ;)
Use MSVC++ to compile kaffe. You may achieve that by
using the cccl wraper for MSVC++ under Cygwin. Cccl is
a shell script frontend for MSVC++ that maps gcc
options to MSVC++ options. I haven't tried that. If
you try to get it to work, please report your
experiences to the mailing list.
Create a MSVC++ project to build kaffe. Using am2msdev
you should be able to generate MSVC++ 6.0 project
files from kaffe's auto* tools build scripts. I
haven't tried that either. Again, if you do it, tell
us how far you've got.
Use lcc-win32, borlands bcc, intels icc, or watcom's
openWatcom compiler under cygwin in order to compile
the code against MSVCRT.DLL. I think that kaffe uses
some gcc specific constructs, so if you are going to
do such work, it would involve cleaning up such
You may have other options, but these are the ones I'm
aware of. I belive that merging in the MingW32 port
would be a very useful contribution, but you should
chose whatever is the best for you.
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
More information about the kaffe