[PATCH] Libgcc build fix for ia64-unknown-elf

Rask Ingemann Lambertsen rask@sygehus.dk
Tue Nov 20 20:49:00 GMT 2007


   The build fails because make doesn't know how to build crt*.o. This patch
fixes it. Tested by building a cross compiler for ia64-unknown-elf. Ok for
trunk?

2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>

	* config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.

Index: libgcc/config.host
===================================================================
--- libgcc/config.host	(revision 129967)
+++ libgcc/config.host	(working copy)
@@ -384,6 +384,8 @@ i[34567]86-*-interix3*)
 i[34567]86-*-kaos*)
 	;;
 ia64*-*-elf*)
+	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
+	tmake_file="ia64/t-ia64"
 	;;
 ia64*-*-freebsd*)
 	;;

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year



More information about the Gcc-patches mailing list