Subject: Re: library support for g++ exception handling
To: None <John.C.Hayward@wheaton.edu>
From: Simon J. Gerraty <sjg@zen.quick.com.au>
List: current-users
Date: 02/18/1997 23:38:27
>   When I try to compile a g++ file with the -fhandel-exceptions I get:
>=====
>> g++ -fhandle-exceptions main.cc
>/var/tmp/cc0074231.o: Undefined symbol `___throw_type_match' referenced
>from text segment

I really need to update my -current and submit some pr's but I'm months behind in everthing :-)

Anyway the patch below is needed:

sjg:149$ cvs diff -ub Makefile  
Index: Makefile
===================================================================
RCS file: /share/cvsroot/usr.src/gnu/usr.bin/gcc/libgcc/Makefile,v
retrieving revision 1.1.1.1
diff -u -b -r1.1.1.1 Makefile
--- Makefile    1996/01/29 02:25:32     1.1.1.1
+++ Makefile    1996/08/06 12:41:21
@@ -23,7 +23,7 @@
 
 LIB2OBJS+=__gcc_bcmp.o _varargs.o _eprintf.o _op_new.o _new_handler.o \
          _op_delete.o _bb.o _shtab.o _clear_cache.o _trampoline.o __main.o \
-         _exit.o _ctors.o _op_vdel.o _op_vnew.o _pure.o
+         _exit.o _ctors.o _op_vdel.o _op_vnew.o _pure.o _eh.o
 
 .if (${MACHINE_ARCH} == "m68k") || (${MACHINE_ARCH} == "i386")
 LIB2OBJS+=_fixxfdi.o _fixunsxfdi.o _floatdixf.o _fixunsxfsi.o