On 3/14/07, Michael Gardner <[EMAIL PROTECTED]> wrote:
In any case it wouldn't seem to explain why I don't get
the crash if I do the compilation and linking in a single step, or if
I use g++ instead of gcc.

Are you also linking with -fexceptions.  The issue is most likely the
shared libgcc is not being used which causes exceptions not to work
accross shared library boundaries.

With g++, it automatically links with the shared libgcc, likewise when
linking with -fexceptions.

So can you look at the output of "ldd" on the executables build by a
single step and built via two steps?  You will most likely see in the
case of a single step, it does not link against the shared libgcc.

-- Pinski


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to