This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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]

[commit] config cleanups


Hello,

This cleans up the following:

wince.mt:
Sets TM_CLIBS instead of WIN32LIBS. On a cygwin system the .mt definition would override things needed by the host.


hppa64.mt:
Deletes an unnecessary TM_CLIBS= setting.

sp64.mt:
Deletes a dangerous CC= setting. By the time GDB's configure is run it's too late to be changing CC. The user needs to be doing this at the top level.


committed,
Andrew

PS: There are other cases of CC being set that are even more wrong. I'll get to them.
2003-09-03  Andrew Cagney  <cagney@redhat.com>

	* config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS.
	* config/mips/wince.mt (TM_CLIBS): Ditto.
	* config/sh/wince.mt (TM_CLIBS): Ditto.
	* config/pa/hppa64.mt (TM_CLIBS): Delete.
	* config/sparc/sp64.mt (CC): Delete.

Index: config/arm/wince.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/arm/wince.mt,v
retrieving revision 1.1
diff -u -r1.1 wince.mt
--- config/arm/wince.mt	24 Feb 2000 03:31:45 -0000	1.1
+++ config/arm/wince.mt	3 Sep 2003 18:50:39 -0000
@@ -2,4 +2,4 @@
 TDEPFILES= arm-tdep.o wince.o
 TM_FILE= tm-wince.h
 MT_CFLAGS=-DARM -U_X86_ -U_M_IX86 -U__i386__ -U__i486__ -U__i586__ -U__i686__ -DUNICODE -D_WIN32_WCE -DWINCE_STUB='"${target_alias}-stub.exe"'
-WIN32LIBS=-lrapi
+TM_CLIBS=-lrapi
Index: config/mips/wince.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/wince.mt,v
retrieving revision 1.1
diff -u -r1.1 wince.mt
--- config/mips/wince.mt	24 Feb 2000 03:31:45 -0000	1.1
+++ config/mips/wince.mt	3 Sep 2003 18:50:39 -0000
@@ -2,4 +2,4 @@
 TDEPFILES= mips-tdep.o wince.o
 TM_FILE= tm-wince.h
 MT_CFLAGS=-DMIPS -U_X86_ -U_M_IX86 -U__i386__ -U__i486__ -U__i586__ -U__i686__ -DUNICODE -D_WIN32_WCE -DWINCE_STUB='"${target_alias}-stub.exe"'
-WIN32LIBS=-lrapi
+TM_CLIBS=-lrapi
Index: config/pa/hppa64.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/hppa64.mt,v
retrieving revision 1.2
diff -u -r1.2 hppa64.mt
--- config/pa/hppa64.mt	16 Dec 2002 16:51:47 -0000	1.2
+++ config/pa/hppa64.mt	3 Sep 2003 18:50:39 -0000
@@ -1,4 +1,3 @@
 # Target: HP PA-RISC 2.0 running HPUX 11.00 in wide mode
 TDEPFILES= hppa-tdep.o hppa-hpux-tdep.o
 TM_FILE= tm-hppa64.h
-TM_CLIBS=
Index: config/sh/wince.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/sh/wince.mt,v
retrieving revision 1.1
diff -u -r1.1 wince.mt
--- config/sh/wince.mt	24 Feb 2000 03:31:45 -0000	1.1
+++ config/sh/wince.mt	3 Sep 2003 18:50:39 -0000
@@ -2,4 +2,4 @@
 TDEPFILES= sh-tdep.o wince.o
 TM_FILE= tm-wince.h
 MT_CFLAGS=-DSHx -U_X86_ -U_M_IX86 -U__i386__ -U__i486__ -U__i586__ -U__i686__ -DUNICODE -D_WIN32_WCE -DWINCE_STUB='"${target_alias}-stub.exe"'
-WIN32LIBS=-lrapi
+TM_CLIBS=-lrapi
Index: config/sparc/sp64.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/sp64.mt,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 sp64.mt
--- config/sparc/sp64.mt	16 Apr 1999 01:34:25 -0000	1.1.1.1
+++ config/sparc/sp64.mt	3 Sep 2003 18:50:39 -0000
@@ -4,6 +4,3 @@
 # Then again, having procfs.o in a target makefile fragment seems wrong.
 TDEPFILES = sparc-tdep.o
 TM_FILE= tm-sp64.h
-
-# Need gcc for long long support.
-CC = gcc

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