From af1fa5e7caf40fa99e93b359fbf2811c4ee8d4e3 Mon Sep 17 00:00:00 2001 From: "J.T. Conklin" Date: Thu, 28 Jul 1994 23:00:42 +0000 Subject: [PATCH] * config/mt-slite (LDFLAGS): If using the newlib in the tree, set the -B and -L prefixes so we can find the debugging stub. --- gdb/testsuite/ChangeLog | 3 +++ gdb/testsuite/config/mt-slite | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a5fcb65..666ac5d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,8 @@ Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com) + * config/mt-slite (LDFLAGS): If using the newlib in the tree, set + the -B and -L prefixes so we can find the debugging stub. + * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is there and we are using the gcc from the tree. diff --git a/gdb/testsuite/config/mt-slite b/gdb/testsuite/config/mt-slite index 4f1c528..0654d18 100644 --- a/gdb/testsuite/config/mt-slite +++ b/gdb/testsuite/config/mt-slite @@ -1 +1,6 @@ -LDFLAGS = -Tex93x.ld -nostartfiles -N +LDFLAGS = ` \ + if [ -f $${rootme}/../../newlib/Makefile ]; then \ + echo -L$${rootsrc}/../../newlib/stub/ex93x -L$${rootme}/../../newlib/stub/ex93x -Tex93x.ld -nostartfiles -N; \ + else \ + echo -Tex93x.ld -nostartfiles -N; \ + fi` -- 2.7.4