Skip to content
This repository
Browse code

Add support for Linux/ARM.

  • Loading branch information...
commit c207e76a00159593b07d5d2023c0aeff31e23fab 1 parent 862c043
Richard Kenner authored

Showing 1 changed file with 7 additions and 0 deletions. Show diff stats Hide diff stats

  1. +7 0 config.guess
7 config.guess
@@ -493,6 +493,12 @@ EOF
493 493 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
494 494 exit 0 ;;
495 495 *:Linux:*:*)
  496 + # uname on the ARM produces all sorts of strangeness, and we need to
  497 + # filter it out.
  498 + case "$UNAME_MACHINE" in
  499 + arm* | sa110*) UNAME_MACHINE="arm" ;;
  500 + esac
  501 +
496 502 # The BFD linker knows what the default object file format is, so
497 503 # first see if it will tell us.
498 504 ld_help_string=`ld --help 2>&1`
@@ -506,6 +512,7 @@ EOF
506 512 i?86linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 ;;
507 513 i?86coff) echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 ;;
508 514 sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
  515 + armlinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
509 516 m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
510 517 elf32ppc) echo "powerpc-unknown-linux-gnu" ; exit 0 ;;
511 518 esac

0 comments on commit c207e76

Please sign in to comment.
Something went wrong with that request. Please try again.