Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 1998 21:12:18 -0800 (PST)
From:      Robert Schulhof <rrs@LMI.Net>
To:        freebsd-ports@FreeBSD.ORG
Subject:   Re:  ports/9089 : egcs-1.1.1  exceptions are not caught,
Message-ID:  <199812230512.VAA14690@badlans.lanminds.com>

next in thread | raw e-mail | index | archive | help


I learned from John Polstra's post that the problem is in the gcc/configuration
script which does not build crtbegin.o crtbeginS.o crtend.o crtendS.o.  Just 
copy from the ix86-elf linux switch.  Exceptions now work.

*** gcc/configure.orig      Tue Dec 22 21:10:38 1998
--- gcc/configure   Tue Dec 22 21:10:44 1998
***************
*** 2752,2757 ****
--- 2752,2758 ----
                tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
                # On FreeBSD, the headers are already ok, except for math.h.
                fixincludes=fixinc.wrap
+               extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
                tmake_file=i386/t-freebsd
                gas=yes
                gnu_ld=yes                       

 
 Robert Schulhof
 System Administrator
 LanMinds Internet. (LMI Net)
 rrs@lmi.net
 http://www.lmi.net
 (510) 843-6389 VOX
 (510) 843-6390 FAX

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812230512.VAA14690>