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: GCJ/minGW produced executables and linux/wine


> Andrew> Well, from a very rough reading it looks to me like SEH should
> Andrew> be able to do what Win32 gcj needs.
> 
> I thought there was no way to access SEH from gcc, and that this was
> one of the longstanding gcc/Windows interoperability problems.

SEH is an OS-provided facility and "__try/__except" is merely
(quite desirable) syntactic sugar coating of these by the MSVC 
(and compliant) compilers - see the "Compiler-level SEH" section in:

    http://www.microsoft.com/msj/0197/exception/exception.htm

In fact, had the following patch by Aldy Hernandez for adding
"__try/__finally" support to GCC been accepted, it would have caused
a *major* confusion for people already used to Win32 SEH:

    http://gcc.gnu.org/ml/gcc-patches/2002-11/msg00239.html

As I remark in a separate post, it *should* be possible to 
achieve what we need using SEH.

Ranjit.


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