libgcj for win32

Jon Beniston jon@sentinelware.freeserve.co.uk
Sat Apr 1 00:00:00 GMT 2000


> On Sun, 16 Jan 2000, Jon Beniston wrote:
> > I've just updated my win32 port of libgcj. New exciting features
include:
> > Native threads, networking and exception handling. It's at last usable!
GC
> > will hopefully be implemented very soon. If you have any problems, feel
free
> > to have a moan.
>
> That's great news, Jon.  Did you port to win32 threads or use the pthreads
> compatibility library?  Are you using the Cygwin or Mingw32
> compiler environment?

Win32 native. I use a cygwin environment to build, but use -mno-cygwin to
target
ming so there's no dependencies on cygwin.dll. (Oops, I forgot to mention
that
switch on the web page!). Also included in the binaries is a (hopefully)
thread safe
version of libgcc.a (/usr/local/libgccgcj.a).

> The GC should work without much hassle... but note that it currently
> requires the DLL configuration on win32.  If you don't build libgcjgc as a
> DLL, it won't get the DLL_THREAD_ATTACH messages and won't work in a
> multithreaded VM.

Er, how do you do that?

Cheers,
Jon.




More information about the Java mailing list