summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-13 05:41:45 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-13 05:41:45 +0000
commit954078d1279a1b01d2aa499791eb3f3f49c5807d (patch)
tree1d3c3dd5fefdf13bfbcb116c8aedf1c27aed4f6d /config.guess
parent69f9b97f67aeb3290677febfe1bbd81e7066f8e2 (diff)
downloadgcc-954078d1279a1b01d2aa499791eb3f3f49c5807d.tar.gz
* config.guess: Add hppa64-linux support. Note for next import that
this is already in the master file. * configure.in: Likewise. Accept `parisc' alias for `hppa'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41327 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess16
1 files changed, 16 insertions, 0 deletions
diff --git a/config.guess b/config.guess
index 4a4c2a418fc..4b177bd2e94 100755
--- a/config.guess
+++ b/config.guess
@@ -861,6 +861,22 @@ EOF
echo s390x-ibm-linux && exit 0
elif test "${UNAME_MACHINE}" = "x86_64"; then
echo x86_64-unknown-linux-gnu && exit 0
+ elif test "${UNAME_MACHINE}" = "parisc64" -o "${UNAME_MACHINE}" = "hppa64"; then
+ echo hppa64-unknown-linux-gnu && exit 0
+ elif test "${UNAME_MACHINE}" = "parisc" -o "${UNAME_MACHINE}" = "hppa"; then
+ # Look for CPU level
+ case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
+ PA7*)
+ echo hppa1.1-unknown-linux-gnu
+ ;;
+ PA8*)
+ echo hppa2.0-unknown-linux-gnu
+ ;;
+ *)
+ echo hppa-unknown-linux-gnu
+ ;;
+ esac
+ exit 0
else
# Either a pre-BFD a.out linker (linux-gnuoldld)
# or one that does not give us useful --help.