btest-gcc.sh: For crosses, assume newlib and GNU binutils.

* btest-gcc.sh: For crosses, assume newlib and GNU binutils.
	* site.exp: Correct mips-elf triplet.

From-SVN: r50504
This commit is contained in:
Geoffrey Keating 2002-03-09 19:41:11 +00:00 committed by Geoffrey Keating
parent 79b51cd7d8
commit ae53d63a9e
3 changed files with 9 additions and 2 deletions

View 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.

View File

@ -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

View File

@ -8,7 +8,7 @@ case "$target_triplet" in {
set target_list { "powerpc-sim" }
# }
}
{ "mips-elf" } {
{ "mips*-*-elf" } {
set target_list { "mips-sim" }
}