OSDN Git Service

* btest-gcc.sh: For crosses, assume newlib and GNU binutils.
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Mar 2002 19:41:11 +0000 (19:41 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Mar 2002 19:41:11 +0000 (19:41 +0000)
* site.exp: Correct mips-elf triplet.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50504 138bc75d-0d04-0410-961f-82ee72b054a4

contrib/regression/ChangeLog
contrib/regression/btest-gcc.sh
contrib/regression/site.exp

index 5008173..e5239c5 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-09  Geoffrey Keating  <geoffk@redhat.com>
+
+       * btest-gcc.sh: For crosses, assume newlib and GNU binutils.
+       * site.exp: Correct mips-elf triplet.
+
 2002-01-31  Geoffrey Keating  <geoffk@redhat.com>
 
        * btest-gcc.sh: New file.
index 1bd7e8c..dbdd669 100755 (executable)
@@ -104,14 +104,16 @@ test-gdb/gdb.sum"
 
 # Build.
 echo build > $RESULT
-$SOURCE/configure --prefix=$PREFIX --target=$H_TARGET || exit 1
 if [ $H_HOST = $H_TARGET ] ; then
+  $SOURCE/configure --prefix=$PREFIX --target=$H_TARGET || exit 1
   if ! make bootstrap ; then
     [ -s gcc/.bad_compare ] || exit 1
     cat gcc/.bad_compare >> $REGRESS || exit 1
     make all || exit 1
   fi
 else
+  $SOURCE/configure --prefix=$PREFIX --target=$H_TARGET \
+    --with-gnu-ld --with-gnu-as --with-newlib || exit 1
   make || exit 1
 fi
 echo error > $RESULT || exit 1
index fa50920..0892afa 100644 (file)
@@ -8,7 +8,7 @@ case "$target_triplet" in {
            set target_list { "powerpc-sim" }
 #      }
     }
-    { "mips-elf" } {
+    { "mips*-*-elf" } {
        set target_list { "mips-sim" }
     }