mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-29 02:26:36 +12:00
2002-11-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* config.guess (mips64:Linux:*:*): Recognize. (mips:Linux:*:*): Recognize as mips-unknown-linux-gnu instead of mips-pc-linux-gnu.
This commit is contained in:
parent
41bfe3c50a
commit
d1e375c98a
@ -1,3 +1,9 @@
|
||||
2002-11-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
|
||||
|
||||
* config.guess (mips64:Linux:*:*): Recognize.
|
||||
(mips:Linux:*:*): Recognize as mips-unknown-linux-gnu instead of
|
||||
mips-pc-linux-gnu.
|
||||
|
||||
2002-11-30 Douglas B Rupp <rupp@gnat.com>
|
||||
|
||||
* config.guess: Make default Interix arch "i586".
|
||||
|
22
config.guess
vendored
22
config.guess
vendored
@ -822,7 +822,27 @@ EOF
|
||||
EOF
|
||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
|
||||
rm -f $dummy.c && rmdir $tmpdir
|
||||
test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
|
||||
test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
|
||||
;;
|
||||
mips64:Linux:*:*)
|
||||
eval $set_cc_for_build
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
#undef CPU
|
||||
#undef mips64
|
||||
#undef mips64el
|
||||
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
|
||||
CPU=mips64el
|
||||
#else
|
||||
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
|
||||
CPU=mips64
|
||||
#else
|
||||
CPU=
|
||||
#endif
|
||||
#endif
|
||||
EOF
|
||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
|
||||
rm -f $dummy.c && rmdir $tmpdir
|
||||
test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
|
||||
;;
|
||||
ppc:Linux:*:*)
|
||||
echo powerpc-unknown-linux-gnu
|
||||
|
Loading…
x
Reference in New Issue
Block a user