This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] remove more host-specific stuff from config.gcc
- From: neroden at twcny dot rr dot com (Nathanael Nerode)
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 2 Sep 2003 00:12:18 -0400
- Subject: [committed] remove more host-specific stuff from config.gcc
This is what I committed, now that DJ has confirmed my suspicions. (The
logic is now present in config.host, where it belongs. I will
probably try to improve target_alias renaming for djgpp hosts sometime,
but if anyone else wants to do it, config.host is the place to look.)
Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.353
diff -u -r1.353 config.gcc
--- config.gcc 1 Sep 2003 17:58:18 -0000 1.353
+++ config.gcc 2 Sep 2003 04:09:23 -0000
@@ -562,13 +562,6 @@
tm_file="${tm_file} alpha/vms.h alpha/vms64.h"
xm_file="alpha/xm-vms.h"
tmake_file="alpha/t-alpha alpha/t-vms alpha/t-vms64 alpha/t-ieee"
- # This removes the cpu type and manufacturer components and
- # replaces "." with "_" in the operating system version.
- case $host in *-*-*vms*)
- target_alias=`echo $host \
- | sed 's/.*-.*-\(.*\)$/\1/' | sed 's/\./_/g'`
- ;;
- esac
prefix=/gnu
local_prefix=/gnu
;;
@@ -576,13 +569,6 @@
tm_file="${tm_file} alpha/vms.h"
xm_file=alpha/xm-vms.h
tmake_file="alpha/t-alpha alpha/t-vms alpha/t-ieee"
- # This removes the cpu type and manufacturer components and
- # replaces "." with "_" in the operating system version.
- case $host in *-*-*vms*)
- target_alias=`echo $host \
- | sed 's/.*-.*-\(.*\)$/\1/' | sed 's/\./_/g'`
- ;;
- esac
prefix=/gnu
local_prefix=/gnu
;;
@@ -955,10 +941,6 @@
tmake_file=i386/t-djgpp
gnu_ld=yes
gas=yes
- case $host in *pc-msdosdjgpp*)
- target_alias=djgpp
- ;;
- esac
;;
i[34567]86-moss-msdos* | i[34567]86-*-moss*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h i386/moss.h"
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 2.940
diff -u -r2.940 ChangeLog
--- ChangeLog 2 Sep 2003 01:28:52 -0000 2.940
+++ ChangeLog 2 Sep 2003 04:09:44 -0000
@@ -1,3 +1,7 @@
+2003-09-02 Nathanael Nerode <neroden@gcc.gnu.org>
+
+ * config.gcc: Remove host-specific rewrites of target_alias.
+
2003-09-01 Mark Mitchell <mark@codesourcery.com>
* Makefile.in (genprogs): Fix typo.
--
Nathanael Nerode <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html