This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compile errors in libgcj while building cross-compiler for MinGW


Tom Tromey <tromey@redhat.com> writes:
> >>>>> "Ranjit" == Ranjit Mathew <rmathew@hotmail.com> writes:

> Ranjit> Am I the only one left here who plays with the mingw32 target?

> Maybe.  There seems to be a fair amount of interest in this target but
> not many people to work on it.  Bummer.

I'll be back on it soon enough.  But I really need Bryce to devote
about ten minutes to helping me with the otable stuff first.


> FYI, I'm using mingw-runtime-2.2 and w32api-2.0.

I was using 1.1; 2.0 wasn't out when I did the port.


> To accommodate this limitation, I propose defining macros
> "_Jv_platform_getsockerr()" and "_Jv_platform_setsockerr()"

I would greatly prefer to simply break off the Win32 socket stuff into
Win32SocketImpl.java, just like we do with filesystem stuff.  The
Win32 sockets stuff superficially appears to be BSD-compatible, but
it's not.

Trying to cram it into the same file by using tricky #define's and
#ifdef's is just asking for trouble, and it will only get harder as we
start implementing more sophisticated stuff like IPv6 and multicast.

  - a


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]