Building Kaffe 1.0b1 on Win95 with CygWin32

Godmar Back gback at cs.utah.edu
Wed Jul 22 09:00:17 PDT 1998


I would urge people to download the latest snapshot if they encounter
a problem and see whether it has been fixed.  Also, the directory
FAQ/FAQ.Known-bugs contains some of the things that are known to be broken,
in doubt or in flux.

This is one of them (that's known to be broken).  Likely fix: look at the
.def files in the other directories and copy one over.  It's not in today's,
but should be in tomorrow's snapshot.

> 
> I have been attempting to build Kaffe on Windows 95 using CygWin32 but
> can't get past the following make error:
> 
> dlltool --def ./libmanagement.def --output-exp lib.exp --output-lib
> libmanagement.a --dllname libmanagement.a
> 

About the kludge below:

The reason all these things are still broken is that no Win95/cygnus
person submits a usable patch that a) works and b) explains why it works.
So if your time allows, it would be nice to have a "real" patch that
fixes these weird #include problems once and for all.

	- Godmar


> 
> Here are the source code changes I have made to get this far, mostly
> fixing the prob with system.h and System.h conflicting:
> 
> c:\kaffe\libraries\clib\native\ObjectInputStream.c(23):#include
> "c:\kaffe\include\system.h" //MHCKLUDGE
> c:\kaffe\libraries\clib\native\ObjectOutputStream.c(21):#include
> "c:\kaffe\include\system.h" //MHCKLUDGE
> c:\kaffe\libraries\clib\native\ObjectStreamClass.c(22):#include
> "c:\kaffe\include\system.h" //MHCKLUDGE
> c:\kaffe\libraries\clib\native\System.c(31):#include
> "c:\kaffe\include\system.h" //MHCKLUDGE
> c:\kaffe\libraries\clib\net\PlainSocketImpl.c(16)://MHCKLUDGE #include
> <netinet/tcp.h>
> c:\kaffe\config\config-io.h(20):#if defined(MHCKLUDGE_HAVE_WINSOCK_H)
> 
> 
> 
> 



More information about the kaffe mailing list