Subject: Re: g++ exception handling
To: None <>
From: Simon J. Gerraty <>
List: current-users
Date: 09/25/1996 09:17:54
In lists.netbsd.current-users Julian Bean writes:
>At 10:25 pm 22/9/96, I wrote:
>>Has anyone had this working under NetBSD?

Yes.  Though it sounds like EH is not ready for prime time (on any platform). 

>>I have a test project which compiles fine under gcc 2.7.2/SunOS 4 and also
>>under gcc, but fails on link under NetBSD (various obvious
>>exception handling utility routines are undefined).

I was waiting until I updated to 1.2 - assuming that this had already
been picked up, but apparently not. The target _eh.o is not being
made, the following patch fixes it.

Index: Makefile
RCS file: /local/src/master/usr.src/gnu/usr.bin/gcc/libgcc/Makefile,v
retrieving revision
diff -u -r1.1.1.1 Makefile
--- Makefile    1996/01/29 02:25:32
+++ 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