From 1fc05e9878c52f4c1ff40ee710a347a70c121ee7 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Tue, 5 Sep 2000 01:09:01 +0000 Subject: [PATCH] 2000-09-05 Andreas Jaeger * config.sub (maybe_os): Recognise AMD x86-64 as x86_64. * config.guess: Detect x86_64-unknown-linux-gnu. --- ChangeLog | 5 +++++ config.guess | 2 ++ config.sub | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e573612..74acc70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-09-05 Andreas Jaeger + + * config.sub (maybe_os): Recognise AMD x86-64 as x86_64. + * config.guess: Detect x86_64-unknown-linux-gnu. + 2000-09-05 Ben Elliston * config.guess: Handle Tandem NSR-K machines. diff --git a/config.guess b/config.guess index 4a93b46..08e8a75 100755 --- a/config.guess +++ b/config.guess @@ -858,6 +858,8 @@ EOF rm -f $dummy.c $dummy elif test "${UNAME_MACHINE}" = "s390"; then echo s390-ibm-linux && exit 0 + elif test "${UNAME_MACHINE}" = "x86_64"; then + echo x86_64-unknown-linux-gnu && exit 0 else # Either a pre-BFD a.out linker (linux-gnuoldld) # or one that does not give us useful --help. diff --git a/config.sub b/config.sub index ae29d23..76b880f 100755 --- a/config.sub +++ b/config.sub @@ -232,7 +232,7 @@ case $basic_machine in # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. - i[234567]86) + i[234567]86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. @@ -262,7 +262,7 @@ case $basic_machine in | f301-* | armv*-* | s390-* | sv1-* | t3e-* \ | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \ - | bs2000-* | tic54x-* | c54x-*) + | bs2000-* | tic54x-* | c54x-* | x86_64-*) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS.