Commit 0dd0f1b6 by Michael Meissner

Support for pre-BFD versions of Linux ld.

From-SVN: r9511
parent af310564
......@@ -300,7 +300,14 @@ EOF
echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
exit 0 ;;
*:Linux:*:*)
# Determine whether the default compiler is a.out or elf
# Systems without a BFD linker
if test -d /usr/lib/ldscripts/. ; then
:
else
echo "${UNAME_MACHINE}-unknown-linuxoldld"
exit 0
fi
# Determine whether the default compiler is a.out or elf
cat >dummy.c <<EOF
main(argc, argv)
int argc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment