aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/Makefile.in
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1994-07-28 21:23:28 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1994-07-28 21:23:28 +0000
commitc2926ab7fcb024cb9e8716f003f0eb72c416fc98 (patch)
treef3b3fe9f19665ff06327d7f801726c8f6c72cbc1 /gdb/testsuite/Makefile.in
parent9f70e45075a913a3b01e4385a0246553d1ab4c63 (diff)
downloadgdb-c2926ab7fcb024cb9e8716f003f0eb72c416fc98.zip
gdb-c2926ab7fcb024cb9e8716f003f0eb72c416fc98.tar.gz
gdb-c2926ab7fcb024cb9e8716f003f0eb72c416fc98.tar.bz2
* Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
there and we are using the gcc from the tree. * gdb.base/types.c: Removed.
Diffstat (limited to 'gdb/testsuite/Makefile.in')
-rw-r--r--gdb/testsuite/Makefile.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
index 7b95d29..99bd029 100644
--- a/gdb/testsuite/Makefile.in
+++ b/gdb/testsuite/Makefile.in
@@ -82,7 +82,11 @@ RUNTEST_FOR_TARGET = `\
CC_FOR_TARGET = ` \
if [ -f $${rootme}/../../gcc/xgcc ] ; then \
- echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/; \
+ if [ -f $${rootme}/../../newlib/Makefile ]; then \
+ echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/ -idirafter $${rootme}/../../newlib/targ-include -idirafter $${rootsrc}/../../newlib/libc/include -nostdinc; \
+ else \
+ echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/; \
+ fi; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(CC); \
@@ -94,7 +98,11 @@ CC_FOR_TARGET = ` \
CXX = gcc
CXX_FOR_TARGET = ` \
if [ -f $${rootme}/../../gcc/xgcc ] ; then \
- echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/; \
+ if [ -f $${rootme}/../../newlib/Makefile ]; then
+ echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/ -idirafter $${rootme}/../../newlib/targ-include -idirafter $${rootsrc}/../../newlib/libc/include -nostdinc; \
+ else \
+ echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/; \
+ fi; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(CXX); \