Hi Dalibor, Thanks a lot for the help! I will try the options and hope that kaffe will soon start running on my windows.
With Regards, Abhishek =-=-=-=-=-=-=-=-=-=-=Disclaimer=-=-=-=-=-=-=-=-=-=-= 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 -----Original Message----- From: Dalibor Topic [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 6:34 PM To: Abhishek Khaitan, Noida; [EMAIL PROTECTED] Subject: Re: [kaffe] Kaffe without cygwin? --- "Abhishek Khaitan, Noida" <[EMAIL PROTECTED]> 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. Option 1) 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 ;) Option 2) 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. Option 3) 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. Option 4) 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 gcc-isms. 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. best regards, dalibor topic __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com _______________________________________________ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
