mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
79b51cd7d8
commit
ae53d63a9e
|
|
@ -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>
|
2002-01-31 Geoffrey Keating <geoffk@redhat.com>
|
||||||
|
|
||||||
* btest-gcc.sh: New file.
|
* btest-gcc.sh: New file.
|
||||||
|
|
|
||||||
|
|
@ -104,14 +104,16 @@ test-gdb/gdb.sum"
|
||||||
|
|
||||||
# Build.
|
# Build.
|
||||||
echo build > $RESULT
|
echo build > $RESULT
|
||||||
$SOURCE/configure --prefix=$PREFIX --target=$H_TARGET || exit 1
|
|
||||||
if [ $H_HOST = $H_TARGET ] ; then
|
if [ $H_HOST = $H_TARGET ] ; then
|
||||||
|
$SOURCE/configure --prefix=$PREFIX --target=$H_TARGET || exit 1
|
||||||
if ! make bootstrap ; then
|
if ! make bootstrap ; then
|
||||||
[ -s gcc/.bad_compare ] || exit 1
|
[ -s gcc/.bad_compare ] || exit 1
|
||||||
cat gcc/.bad_compare >> $REGRESS || exit 1
|
cat gcc/.bad_compare >> $REGRESS || exit 1
|
||||||
make all || exit 1
|
make all || exit 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
$SOURCE/configure --prefix=$PREFIX --target=$H_TARGET \
|
||||||
|
--with-gnu-ld --with-gnu-as --with-newlib || exit 1
|
||||||
make || exit 1
|
make || exit 1
|
||||||
fi
|
fi
|
||||||
echo error > $RESULT || exit 1
|
echo error > $RESULT || exit 1
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ case "$target_triplet" in {
|
||||||
set target_list { "powerpc-sim" }
|
set target_list { "powerpc-sim" }
|
||||||
# }
|
# }
|
||||||
}
|
}
|
||||||
{ "mips-elf" } {
|
{ "mips*-*-elf" } {
|
||||||
set target_list { "mips-sim" }
|
set target_list { "mips-sim" }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue