minor configure problem for FreeBSD ELF

David O'Brien obrien@NUXI.com
Fri Dec 25 12:14:00 GMT 1998


Simular to the Linux ELF section of configure, FreeBSD needs crt* built
and installed in order for exceptions to work properly.

-- 
-- David    (obrien@NUXI.com  -or-  obrien@FreeBSD.org)

--- egcs-1.1.1/gcc/configure.orig	Wed Dec  2 11:22:52 1998
+++ egcs-1.1.1/gcc/configure	Fri Dec 25 00:35:40 1998
@@ -2752,6 +2752,7 @@
 		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



More information about the Gcc-patches mailing list