This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Port libgcc's configury for *-*-gnu*


Hello!

Here is a patch to port libgcc's configury for *-*gnu*.

Hurd people: I guess we'll want t-tls, correct?  (As we do support
__thread.)

Debian BSD people: please (a) check again that I didn't break anything
for you, (b) think about whether you want t-tls as well.

Both parties: do we also want changes installed for libgcc's configure.ac
for the floating point stuff that currently only matches against *linux*?


2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>

	* config.host: Fold `*-*-gnu*' cases into the Linux ones.

Index: config.host
===================================================================
--- config.host	(Revision 140963)
+++ config.host	(Arbeitskopie)
@@ -150,12 +153,9 @@ case ${host} in
   # machine-specific sections may refine and add to this
   # configuration.
   ;;
-*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu)
-  # Must come before *-*-gnu* (because of *-*-linux-gnu* systems).
+*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu*)
   extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
   ;;
-*-*-gnu*)
-  ;;
 *-*-netbsd*)
   ;;
 *-*-openbsd*)
@@ -176,12 +176,10 @@ case ${host} in
 	then tmake_file=${cpu_type}/t-$rest
 	fi
 	;;
-alpha*-*-linux*)
+alpha*-*-linux* | alpha*-*-gnu*)
 	tmake_file="${tmake_file} alpha/t-crtfm"
 	extra_parts="$extra_parts crtfastmath.o"
 	;;
-alpha*-*-gnu*)
-	;;
 alpha*-*-freebsd*)
 	;;
 alpha*-*-netbsd*)
@@ -299,7 +297,7 @@ i[34567]86-*-openbsd*)
 	;;
 i[34567]86-*-coff*)
 	;;
-i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu)
+i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu*)
 	extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
 	tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
 	;;
@@ -307,8 +305,6 @@ x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-
 	extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
 	tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
 	;;
-i[34567]86-*-gnu*)
-	;;
 i[34567]86-pc-msdosdjgpp*)
 	;;
 i[34567]86-*-lynxos*)
@@ -576,7 +572,9 @@ m32c-*-elf*)
 esac
 
 case ${host} in
-i[34567]86-*-linux* | x86_64-*-linux*)
+i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu)
+	;;
+i[34567]86-*-linux* | x86_64-*-linux* | i[34567]86-*-gnu*)
 	tmake_file="${tmake_file} t-tls"
 	;;
 esac


Regards,
 Thomas

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]