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: exception handling


On Wed, 17 Sep 2003, Christian Stuellenberg wrote:
> $ mingw32-gcj -o c.exe --main=CCTest CCTest.java -L./lib -lgcj \
> -Wl,--enable-runtime-pseudo-reloc
...
> When I now execute the generated executable on a windows host, I get
> an Exception; so the Exception gets not catched.

Mostly likely, the throw cannot cross the DLL boundary unless you also
link with a shared libgcc_s.dll.  That'll be a problem with libgcj.dll.

Jeff


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