This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Solaris .so and C++ exceptions
- To: gcc at gcc dot gnu dot org
- Subject: Solaris .so and C++ exceptions
- From: Chris Kelly <samizdat at tolstoy dot com>
- Date: Fri, 09 Mar 2001 18:15:21 -0800
I'm trying to create a JNI .so for Solaris 8 using gcc 2.95.2. I'm able to
get the JNI .so working except when I throw a C++ exception inside the .so,
it core dumps. I'm just trying to throw and catch the exception within the
same .so. The same code works fine with MSVC on Win32.
I've seen previous questions with the same problem, but I haven't been able
to get them working. Does anyone have a basic example of the command line
arguments necessary to build something like this?