From c24db1ca0f41b14120c8f381f490b412aec08e3b Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 22 Apr 1998 19:33:56 +0000 Subject: [PATCH] * Makefile.in (GCC_FOR_TARGET): Add options to find newlib and libgloss. Add comment that we should be using dejagnu. --- sim/testsuite/sky/ChangeLog | 5 +++++ sim/testsuite/sky/Makefile.in | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/sim/testsuite/sky/ChangeLog b/sim/testsuite/sky/ChangeLog index efe5487726a..9dd2fa4cf54 100644 --- a/sim/testsuite/sky/ChangeLog +++ b/sim/testsuite/sky/ChangeLog @@ -1,3 +1,8 @@ +Wed Apr 22 11:32:31 1998 Doug Evans + + * Makefile.in (GCC_FOR_TARGET): Add options to find newlib and + libgloss. Add comment that we should be using dejagnu. + Tue Apr 21 17:48:28 EDT 1998 Jillian Ye * Use GIF_TRACE to generate sce_test*_our_gif.dat files diff --git a/sim/testsuite/sky/Makefile.in b/sim/testsuite/sky/Makefile.in index 51b35f30875..97ee30953fe 100644 --- a/sim/testsuite/sky/Makefile.in +++ b/sim/testsuite/sky/Makefile.in @@ -78,9 +78,15 @@ RUN_FOR_TARGET := `\ echo $(target_alias)-run ; \ fi` $(RUNOPTS) +# ??? This definition a hack. +# This should be named CC_FOR_TARGET but the top level Makefile doesn't +# specify -B.../libgloss/mips/. But then again we should be using +# dejagnu anyway [which handles this, among other things]. + GCC_FOR_TARGET := `\ - if [ -x ../../../gcc/xgcc ]; then \ - echo ../../../gcc/xgcc ; \ + b=../../.. ; s=$(srcdir)/../../.. ; \ + if [ -x $$b/gcc/xgcc ]; then \ + echo "$$b/gcc/xgcc -B$$b/gcc/ -B$$b/$(target_alias)/libgloss/mips/ -B$$b/$(target_alias)/newlib/ -idirafter $$b/$(target_alias)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc" ; \ else \ echo $(target_alias)-gcc ; \ fi` -- 2.30.2