bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Thomas Schwinge
Subject: Port libgcc's configury for *-*-gnu*
Date: Wed, 8 Oct 2008 13:16:11 +0200
User-agent: Mutt/1.5.11

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]