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: libgcj.dll on MinGW


Hi All,

>In the installation, some things are working and others aren't.  I
>have used gij linked against the dll to run trivial programs.  It also
>seems that jv-scan works.  The other EXE's in the bin directory throw
>access-violations.

Here is an two-second analysis I did on building libgcj
as a DLL on Windows for 3.4:

http://gcc.gnu.org/ml/java-patches/2003-q4/msg00363.html

There are MinGW-local patches which allow exceptions
to be thrown across DLL boundaries. These are not currently
in the official FSF tree. I think Danny Smith mentioned that
there could be licensing issues involved. Danny Smith's patch
is currently in my 3.4 build:

http://www.thisiscool.com/gcc_mingw.htm

...but not in my 4.0 one, which is why I didn't do a libgcj.dll for
my 4.0 build. As far as I know, Danny never prepared a
"exceptions across boundaries patch" for 4.0 or the current
4.1 tree.

Without such functionality, any exception thrown in libgcj.dll
will segfault the application, which means such a libgcj.dll would
only be suitable for toy applications....

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/




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