This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Compile errors in libgcj while building cross-compiler for MinGW
- From: Adam Megacz <gcj at lists dot megacz dot com>
- To: java at gcc dot gnu dot org, konqueror at gmx dot de
- Date: 07 Jan 2003 09:40:26 -0800
- Subject: Re: Compile errors in libgcj while building cross-compiler for MinGW
- Organization: Myself
- References: <atqino$hgl$1@main.gmane.org> <augnvh$v3n$1@main.gmane.org> <87y967t82r.fsf@fleche.redhat.com>
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