Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ecf41935
Commit
ecf41935
authored
Nov 19, 2013
by
doko@ubuntu.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Update config.{guess,sub} for new ports.
parent
4accf45f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
108 additions
and
84 deletions
+108
-84
config.guess
config.guess
+87
-64
config.sub
config.sub
+21
-20
No files found.
config.guess
View file @
ecf41935
#! /bin/sh
#! /bin/sh
# Attempt to guess a canonical system name.
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# Copyright 1992-2013 Free Software Foundation, Inc.
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012, 2013 Free Software Foundation, Inc.
timestamp
=
'201
2-12-29
'
timestamp
=
'201
3-06-10
'
# This file is free software; you can redistribute it and/or modify it
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# under the terms of the GNU General Public License as published by
...
@@ -26,7 +24,7 @@ timestamp='2012-12-29'
...
@@ -26,7 +24,7 @@ timestamp='2012-12-29'
# program. This Exception is an additional permission under section 7
# program. This Exception is an additional permission under section 7
# of the GNU General Public License, version 3 ("GPLv3").
# of the GNU General Public License, version 3 ("GPLv3").
#
#
# Originally written by Per Bothner.
# Originally written by Per Bothner.
#
#
# You can get the latest version of this script from:
# You can get the latest version of this script from:
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
...
@@ -52,9 +50,7 @@ version="\
...
@@ -52,9 +50,7 @@ version="\
GNU config.guess (
$timestamp
)
GNU config.guess (
$timestamp
)
Originally written by Per Bothner.
Originally written by Per Bothner.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
Copyright 1992-2013 Free Software Foundation, Inc.
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
2012, 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
...
@@ -136,6 +132,27 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
...
@@ -136,6 +132,27 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM
=
`
(
uname
-s
)
2>/dev/null
`
||
UNAME_SYSTEM
=
unknown
UNAME_SYSTEM
=
`
(
uname
-s
)
2>/dev/null
`
||
UNAME_SYSTEM
=
unknown
UNAME_VERSION
=
`
(
uname
-v
)
2>/dev/null
`
||
UNAME_VERSION
=
unknown
UNAME_VERSION
=
`
(
uname
-v
)
2>/dev/null
`
||
UNAME_VERSION
=
unknown
case
"
${
UNAME_SYSTEM
}
"
in
Linux|GNU|GNU/
*
)
# If the system lacks a compiler, then just pick glibc.
# We could probably try harder.
LIBC
=
gnu
eval
$set_cc_for_build
cat
<<-
EOF
>
$dummy
.c
#include <features.h>
#if defined(__UCLIBC__)
LIBC=uclibc
#elif defined(__dietlibc__)
LIBC=dietlibc
#else
LIBC=gnu
#endif
EOF
eval
`
$CC_FOR_BUILD
-E
$dummy
.c 2>/dev/null |
grep
'^LIBC'
`
;;
esac
# Note: order is significant - the case branches are not exclusive.
# Note: order is significant - the case branches are not exclusive.
case
"
${
UNAME_MACHINE
}
:
${
UNAME_SYSTEM
}
:
${
UNAME_RELEASE
}
:
${
UNAME_VERSION
}
"
in
case
"
${
UNAME_MACHINE
}
:
${
UNAME_SYSTEM
}
:
${
UNAME_RELEASE
}
:
${
UNAME_VERSION
}
"
in
...
@@ -857,21 +874,21 @@ EOF
...
@@ -857,21 +874,21 @@ EOF
exit
;;
exit
;;
*
:GNU:
*
:
*
)
*
:GNU:
*
:
*
)
# the GNU system
# the GNU system
echo
`
echo
${
UNAME_MACHINE
}
|sed
-e
's,[-/].*$,,'
`
-unknown-
gnu
`
echo
${
UNAME_RELEASE
}
|sed
-e
's,/.*$,,'
`
echo
`
echo
${
UNAME_MACHINE
}
|sed
-e
's,[-/].*$,,'
`
-unknown-
${
LIBC
}
`
echo
${
UNAME_RELEASE
}
|sed
-e
's,/.*$,,'
`
exit
;;
exit
;;
*
:GNU/
*
:
*
:
*
)
*
:GNU/
*
:
*
:
*
)
# other systems with GNU libc and userland
# other systems with GNU libc and userland
echo
${
UNAME_MACHINE
}
-unknown-
`
echo
${
UNAME_SYSTEM
}
|
sed
's,^[^/]*/,,'
|
tr
'[A-Z]'
'[a-z]'
``
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
-
gnu
echo
${
UNAME_MACHINE
}
-unknown-
`
echo
${
UNAME_SYSTEM
}
|
sed
's,^[^/]*/,,'
|
tr
'[A-Z]'
'[a-z]'
``
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
-
${
LIBC
}
exit
;;
exit
;;
i
*
86:Minix:
*
:
*
)
i
*
86:Minix:
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-minix
echo
${
UNAME_MACHINE
}
-pc-minix
exit
;;
exit
;;
aarch64:Linux:
*
:
*
)
aarch64:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
aarch64_be:Linux:
*
:
*
)
aarch64_be:Linux:
*
:
*
)
UNAME_MACHINE
=
aarch64_be
UNAME_MACHINE
=
aarch64_be
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
alpha:Linux:
*
:
*
)
alpha:Linux:
*
:
*
)
case
`
sed
-n
'/^cpu model/s/^.*: \(.*\)/\1/p'
< /proc/cpuinfo
`
in
case
`
sed
-n
'/^cpu model/s/^.*: \(.*\)/\1/p'
< /proc/cpuinfo
`
in
...
@@ -884,59 +901,54 @@ EOF
...
@@ -884,59 +901,54 @@ EOF
EV68
*
)
UNAME_MACHINE
=
alphaev68
;;
EV68
*
)
UNAME_MACHINE
=
alphaev68
;;
esac
esac
objdump
--private-headers
/bin/sh |
grep
-q
ld.so.1
objdump
--private-headers
/bin/sh |
grep
-q
ld.so.1
if
test
"
$?
"
=
0
;
then
LIBC
=
"libc1"
;
else
LIBC
=
""
;
fi
if
test
"
$?
"
=
0
;
then
LIBC
=
"gnulibc1"
;
fi
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
${
LIBC
}
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
arc:Linux:
*
:
*
|
arceb:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
arm
*
:Linux:
*
:
*
)
arm
*
:Linux:
*
:
*
)
eval
$set_cc_for_build
eval
$set_cc_for_build
if
echo
__ARM_EABI__ |
$CC_FOR_BUILD
-E
- 2>/dev/null
\
if
echo
__ARM_EABI__ |
$CC_FOR_BUILD
-E
- 2>/dev/null
\
|
grep
-q
__ARM_EABI__
|
grep
-q
__ARM_EABI__
then
then
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
else
else
if
echo
__ARM_PCS_VFP |
$CC_FOR_BUILD
-E
- 2>/dev/null
\
if
echo
__ARM_PCS_VFP |
$CC_FOR_BUILD
-E
- 2>/dev/null
\
|
grep
-q
__ARM_PCS_VFP
|
grep
-q
__ARM_PCS_VFP
then
then
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
eabi
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
eabi
else
else
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
eabihf
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
eabihf
fi
fi
fi
fi
exit
;;
exit
;;
avr32
*
:Linux:
*
:
*
)
avr32
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
cris:Linux:
*
:
*
)
cris:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-axis-linux-
gnu
echo
${
UNAME_MACHINE
}
-axis-linux-
${
LIBC
}
exit
;;
exit
;;
crisv32:Linux:
*
:
*
)
crisv32:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-axis-linux-
gnu
echo
${
UNAME_MACHINE
}
-axis-linux-
${
LIBC
}
exit
;;
exit
;;
frv:Linux:
*
:
*
)
frv:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
hexagon:Linux:
*
:
*
)
hexagon:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
i
*
86:Linux:
*
:
*
)
i
*
86:Linux:
*
:
*
)
LIBC
=
gnu
echo
${
UNAME_MACHINE
}
-pc-linux-
${
LIBC
}
eval
$set_cc_for_build
sed
's/^ //'
<<
EOF
>
$dummy
.c
#ifdef __dietlibc__
LIBC=dietlibc
#endif
EOF
eval
`
$CC_FOR_BUILD
-E
$dummy
.c 2>/dev/null |
grep
'^LIBC'
`
echo
"
${
UNAME_MACHINE
}
-pc-linux-
${
LIBC
}
"
exit
;;
exit
;;
ia64:Linux:
*
:
*
)
ia64:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
m32r
*
:Linux:
*
:
*
)
m32r
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
m68
*
:Linux:
*
:
*
)
m68
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
mips:Linux:
*
:
*
|
mips64:Linux:
*
:
*
)
mips:Linux:
*
:
*
|
mips64:Linux:
*
:
*
)
eval
$set_cc_for_build
eval
$set_cc_for_build
...
@@ -955,54 +967,63 @@ EOF
...
@@ -955,54 +967,63 @@ EOF
#endif
#endif
EOF
EOF
eval
`
$CC_FOR_BUILD
-E
$dummy
.c 2>/dev/null |
grep
'^CPU'
`
eval
`
$CC_FOR_BUILD
-E
$dummy
.c 2>/dev/null |
grep
'^CPU'
`
test
x
"
${
CPU
}
"
!=
x
&&
{
echo
"
${
CPU
}
-unknown-linux-
gnu
"
;
exit
;
}
test
x
"
${
CPU
}
"
!=
x
&&
{
echo
"
${
CPU
}
-unknown-linux-
${
LIBC
}
"
;
exit
;
}
;;
;;
or1k:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
or32:Linux:
*
:
*
)
or32:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
padre:Linux:
*
:
*
)
padre:Linux:
*
:
*
)
echo
sparc-unknown-linux-
gnu
echo
sparc-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
parisc64:Linux:
*
:
*
|
hppa64:Linux:
*
:
*
)
parisc64:Linux:
*
:
*
|
hppa64:Linux:
*
:
*
)
echo
hppa64-unknown-linux-
gnu
echo
hppa64-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
parisc:Linux:
*
:
*
|
hppa:Linux:
*
:
*
)
parisc:Linux:
*
:
*
|
hppa:Linux:
*
:
*
)
# Look for CPU level
# Look for CPU level
case
`
grep
'^cpu[^a-z]*:'
/proc/cpuinfo 2>/dev/null |
cut
-d
' '
-f2
`
in
case
`
grep
'^cpu[^a-z]*:'
/proc/cpuinfo 2>/dev/null |
cut
-d
' '
-f2
`
in
PA7
*
)
echo
hppa1.1-unknown-linux-
gnu
;;
PA7
*
)
echo
hppa1.1-unknown-linux-
${
LIBC
}
;;
PA8
*
)
echo
hppa2.0-unknown-linux-
gnu
;;
PA8
*
)
echo
hppa2.0-unknown-linux-
${
LIBC
}
;;
*
)
echo
hppa-unknown-linux-
gnu
;;
*
)
echo
hppa-unknown-linux-
${
LIBC
}
;;
esac
esac
exit
;;
exit
;;
ppc64:Linux:
*
:
*
)
ppc64:Linux:
*
:
*
)
echo
powerpc64-unknown-linux-
gnu
echo
powerpc64-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
ppc:Linux:
*
:
*
)
ppc:Linux:
*
:
*
)
echo
powerpc-unknown-linux-gnu
echo
powerpc-unknown-linux-
${
LIBC
}
exit
;;
ppc64le:Linux:
*
:
*
)
echo
powerpc64le-unknown-linux-
${
LIBC
}
exit
;;
ppcle:Linux:
*
:
*
)
echo
powerpcle-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
s390:Linux:
*
:
*
|
s390x:Linux:
*
:
*
)
s390:Linux:
*
:
*
|
s390x:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-ibm-linux
echo
${
UNAME_MACHINE
}
-ibm-linux
-
${
LIBC
}
exit
;;
exit
;;
sh64
*
:Linux:
*
:
*
)
sh64
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
sh
*
:Linux:
*
:
*
)
sh
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
sparc:Linux:
*
:
*
|
sparc64:Linux:
*
:
*
)
sparc:Linux:
*
:
*
|
sparc64:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
tile
*
:Linux:
*
:
*
)
tile
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
vax:Linux:
*
:
*
)
vax:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-dec-linux-
gnu
echo
${
UNAME_MACHINE
}
-dec-linux-
${
LIBC
}
exit
;;
exit
;;
x86_64:Linux:
*
:
*
)
x86_64:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
xtensa
*
:Linux:
*
:
*
)
xtensa
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
i
*
86:DYNIX/ptx:4
*
:
*
)
i
*
86:DYNIX/ptx:4
*
:
*
)
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
...
@@ -1235,19 +1256,21 @@ EOF
...
@@ -1235,19 +1256,21 @@ EOF
exit
;;
exit
;;
*
:Darwin:
*
:
*
)
*
:Darwin:
*
:
*
)
UNAME_PROCESSOR
=
`
uname
-p
`
||
UNAME_PROCESSOR
=
unknown
UNAME_PROCESSOR
=
`
uname
-p
`
||
UNAME_PROCESSOR
=
unknown
case
$UNAME_PROCESSOR
in
eval
$set_cc_for_build
i386
)
if
test
"
$UNAME_PROCESSOR
"
=
unknown
;
then
eval
$set_cc_for_build
UNAME_PROCESSOR
=
powerpc
if
[
"
$CC_FOR_BUILD
"
!=
'no_compiler_found'
]
;
then
fi
if
(
echo
'#ifdef __LP64__'
;
echo
IS_64BIT_ARCH
;
echo
'#endif'
)
|
\
if
[
"
$CC_FOR_BUILD
"
!=
'no_compiler_found'
]
;
then
(
CCOPTS
=
$CC_FOR_BUILD
-E
- 2>/dev/null
)
|
\
if
(
echo
'#ifdef __LP64__'
;
echo
IS_64BIT_ARCH
;
echo
'#endif'
)
|
\
grep
IS_64BIT_ARCH
>
/dev/null
(
CCOPTS
=
$CC_FOR_BUILD
-E
- 2>/dev/null
)
|
\
then
grep
IS_64BIT_ARCH
>
/dev/null
UNAME_PROCESSOR
=
"x86_64"
then
fi
case
$UNAME_PROCESSOR
in
fi
;;
i386
)
UNAME_PROCESSOR
=
x86_64
;;
unknown
)
UNAME_PROCESSOR
=
powerpc
;;
powerpc
)
UNAME_PROCESSOR
=
powerpc64
;;
esac
esac
fi
fi
echo
${
UNAME_PROCESSOR
}
-apple-darwin
${
UNAME_RELEASE
}
echo
${
UNAME_PROCESSOR
}
-apple-darwin
${
UNAME_RELEASE
}
exit
;;
exit
;;
*
:procnto
*
:
*
:
*
|
*
:QNX:[0123456789]
*
:
*
)
*
:procnto
*
:
*
:
*
|
*
:QNX:[0123456789]
*
:
*
)
...
...
config.sub
View file @
ecf41935
#! /bin/sh
#! /bin/sh
# Configuration validation subroutine script.
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# Copyright 1992-2013 Free Software Foundation, Inc.
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012, 2013 Free Software Foundation, Inc.
timestamp
=
'201
2-12-29
'
timestamp
=
'201
3-08-10
'
# This file is free software; you can redistribute it and/or modify it
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# under the terms of the GNU General Public License as published by
...
@@ -70,9 +68,7 @@ Report bugs and patches to <config-patches@gnu.org>."
...
@@ -70,9 +68,7 @@ Report bugs and patches to <config-patches@gnu.org>."
version
=
"
\
version
=
"
\
GNU config.sub (
$timestamp
)
GNU config.sub (
$timestamp
)
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
Copyright 1992-2013 Free Software Foundation, Inc.
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
2012, 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
...
@@ -256,12 +252,12 @@ case $basic_machine in
...
@@ -256,12 +252,12 @@ case $basic_machine in
|
alpha
|
alphaev[4-8]
|
alphaev56
|
alphaev6[78]
|
alphapca5[67]
\
|
alpha
|
alphaev[4-8]
|
alphaev56
|
alphaev6[78]
|
alphapca5[67]
\
|
alpha64
|
alpha64ev[4-8]
|
alpha64ev56
|
alpha64ev6[78]
|
alpha64pca5[67]
\
|
alpha64
|
alpha64ev[4-8]
|
alpha64ev56
|
alpha64ev6[78]
|
alpha64pca5[67]
\
|
am33_2.0
\
|
am33_2.0
\
|
arc
\
|
arc
|
arceb
\
|
arm
|
arm[bl]e
|
arme[lb]
|
armv[2-8]
|
armv[3-8][lb]
|
armv7[arm]
\
|
arm
|
arm[bl]e
|
arme[lb]
|
armv[2-8]
|
armv[3-8][lb]
|
armv7[arm]
\
|
avr
|
avr32
\
|
avr
|
avr32
\
|
be32
|
be64
\
|
be32
|
be64
\
|
bfin
\
|
bfin
\
|
c4x
|
clipper
\
|
c4x
|
c
8051
|
c
lipper
\
|
d10v
|
d30v
|
dlx
|
dsp16xx
\
|
d10v
|
d30v
|
dlx
|
dsp16xx
\
|
epiphany
\
|
epiphany
\
|
fido
|
fr30
|
frv
\
|
fido
|
fr30
|
frv
\
...
@@ -290,16 +286,17 @@ case $basic_machine in
...
@@ -290,16 +286,17 @@ case $basic_machine in
|
mipsisa64r2
|
mipsisa64r2el
\
|
mipsisa64r2
|
mipsisa64r2el
\
|
mipsisa64sb1
|
mipsisa64sb1el
\
|
mipsisa64sb1
|
mipsisa64sb1el
\
|
mipsisa64sr71k
|
mipsisa64sr71kel
\
|
mipsisa64sr71k
|
mipsisa64sr71kel
\
|
mipsr5900
|
mipsr5900el
\
|
mipstx39
|
mipstx39el
\
|
mipstx39
|
mipstx39el
\
|
mn10200
|
mn10300
\
|
mn10200
|
mn10300
\
|
moxie
\
|
moxie
\
|
mt
\
|
mt
\
|
msp430
\
|
msp430
\
|
nds32
|
nds32le
|
nds32be
\
|
nds32
|
nds32le
|
nds32be
\
|
nios
|
nios2
\
|
nios
|
nios2
|
nios2eb
|
nios2el
\
|
ns16k
|
ns32k
\
|
ns16k
|
ns32k
\
|
open8
\
|
open8
\
|
or32
\
|
or
1k
|
or
32
\
|
pdp10
|
pdp11
|
pj
|
pjl
\
|
pdp10
|
pdp11
|
pj
|
pjl
\
|
powerpc
|
powerpc64
|
powerpc64le
|
powerpcle
\
|
powerpc
|
powerpc64
|
powerpc64le
|
powerpcle
\
|
pyramid
\
|
pyramid
\
...
@@ -369,13 +366,13 @@ case $basic_machine in
...
@@ -369,13 +366,13 @@ case $basic_machine in
|
aarch64-
*
|
aarch64_be-
*
\
|
aarch64-
*
|
aarch64_be-
*
\
|
alpha-
*
|
alphaev[4-8]-
*
|
alphaev56-
*
|
alphaev6[78]-
*
\
|
alpha-
*
|
alphaev[4-8]-
*
|
alphaev56-
*
|
alphaev6[78]-
*
\
|
alpha64-
*
|
alpha64ev[4-8]-
*
|
alpha64ev56-
*
|
alpha64ev6[78]-
*
\
|
alpha64-
*
|
alpha64ev[4-8]-
*
|
alpha64ev56-
*
|
alpha64ev6[78]-
*
\
|
alphapca5[67]-
*
|
alpha64pca5[67]-
*
|
arc-
*
\
|
alphapca5[67]-
*
|
alpha64pca5[67]-
*
|
arc-
*
|
arceb-
*
\
|
arm-
*
|
armbe-
*
|
armle-
*
|
armeb-
*
|
armv
*
-
*
\
|
arm-
*
|
armbe-
*
|
armle-
*
|
armeb-
*
|
armv
*
-
*
\
|
avr-
*
|
avr32-
*
\
|
avr-
*
|
avr32-
*
\
|
be32-
*
|
be64-
*
\
|
be32-
*
|
be64-
*
\
|
bfin-
*
|
bs2000-
*
\
|
bfin-
*
|
bs2000-
*
\
|
c[123]
*
|
c30-
*
|
[
cjt]90-
*
|
c4x-
*
\
|
c[123]
*
|
c30-
*
|
[
cjt]90-
*
|
c4x-
*
\
|
clipper-
*
|
craynv-
*
|
cydra-
*
\
|
c
8051-
*
|
c
lipper-
*
|
craynv-
*
|
cydra-
*
\
|
d10v-
*
|
d30v-
*
|
dlx-
*
\
|
d10v-
*
|
d30v-
*
|
dlx-
*
\
|
elxsi-
*
\
|
elxsi-
*
\
|
f30[01]-
*
|
f700-
*
|
fido-
*
|
fr30-
*
|
frv-
*
|
fx80-
*
\
|
f30[01]-
*
|
f700-
*
|
fido-
*
|
fr30-
*
|
frv-
*
|
fx80-
*
\
...
@@ -407,12 +404,13 @@ case $basic_machine in
...
@@ -407,12 +404,13 @@ case $basic_machine in
|
mipsisa64r2-
*
|
mipsisa64r2el-
*
\
|
mipsisa64r2-
*
|
mipsisa64r2el-
*
\
|
mipsisa64sb1-
*
|
mipsisa64sb1el-
*
\
|
mipsisa64sb1-
*
|
mipsisa64sb1el-
*
\
|
mipsisa64sr71k-
*
|
mipsisa64sr71kel-
*
\
|
mipsisa64sr71k-
*
|
mipsisa64sr71kel-
*
\
|
mipsr5900-
*
|
mipsr5900el-
*
\
|
mipstx39-
*
|
mipstx39el-
*
\
|
mipstx39-
*
|
mipstx39el-
*
\
|
mmix-
*
\
|
mmix-
*
\
|
mt-
*
\
|
mt-
*
\
|
msp430-
*
\
|
msp430-
*
\
|
nds32-
*
|
nds32le-
*
|
nds32be-
*
\
|
nds32-
*
|
nds32le-
*
|
nds32be-
*
\
|
nios-
*
|
nios2-
*
\
|
nios-
*
|
nios2-
*
|
nios2eb-
*
|
nios2el-
*
\
|
none-
*
|
np1-
*
|
ns16k-
*
|
ns32k-
*
\
|
none-
*
|
np1-
*
|
ns16k-
*
|
ns32k-
*
\
|
open8-
*
\
|
open8-
*
\
|
orion-
*
\
|
orion-
*
\
...
@@ -796,7 +794,7 @@ case $basic_machine in
...
@@ -796,7 +794,7 @@ case $basic_machine in
os
=
-mingw64
os
=
-mingw64
;;
;;
mingw32
)
mingw32
)
basic_machine
=
i
3
86-pc
basic_machine
=
i
6
86-pc
os
=
-mingw32
os
=
-mingw32
;;
;;
mingw32ce
)
mingw32ce
)
...
@@ -832,7 +830,7 @@ case $basic_machine in
...
@@ -832,7 +830,7 @@ case $basic_machine in
basic_machine
=
`
echo
$basic_machine
|
sed
-e
's/ms1-/mt-/'
`
basic_machine
=
`
echo
$basic_machine
|
sed
-e
's/ms1-/mt-/'
`
;;
;;
msys
)
msys
)
basic_machine
=
i
3
86-pc
basic_machine
=
i
6
86-pc
os
=
-msys
os
=
-msys
;;
;;
mvs
)
mvs
)
...
@@ -1354,7 +1352,7 @@ case $os in
...
@@ -1354,7 +1352,7 @@ case $os in
-gnu
*
|
-bsd
*
|
-mach
*
|
-minix
*
|
-genix
*
|
-ultrix
*
|
-irix
*
\
-gnu
*
|
-bsd
*
|
-mach
*
|
-minix
*
|
-genix
*
|
-ultrix
*
|
-irix
*
\
|
-
*
vms
*
|
-sco
*
|
-esix
*
|
-isc
*
|
-aix
*
|
-cnk
*
|
-sunos
|
-sunos
[
34]
*
\
|
-
*
vms
*
|
-sco
*
|
-esix
*
|
-isc
*
|
-aix
*
|
-cnk
*
|
-sunos
|
-sunos
[
34]
*
\
|
-hpux
*
|
-unos
*
|
-osf
*
|
-luna
*
|
-dgux
*
|
-auroraux
*
|
-solaris
*
\
|
-hpux
*
|
-unos
*
|
-osf
*
|
-luna
*
|
-dgux
*
|
-auroraux
*
|
-solaris
*
\
|
-sym
*
|
-kopensolaris
*
\
|
-sym
*
|
-kopensolaris
*
|
-plan9
*
\
|
-amigaos
*
|
-amigados
*
|
-msdos
*
|
-newsos
*
|
-unicos
*
|
-aof
*
\
|
-amigaos
*
|
-amigados
*
|
-msdos
*
|
-newsos
*
|
-unicos
*
|
-aof
*
\
|
-aos
*
|
-aros
*
\
|
-aos
*
|
-aros
*
\
|
-nindy
*
|
-vxsim
*
|
-vxworks
*
|
-ebmon
*
|
-hms
*
|
-mvs
*
\
|
-nindy
*
|
-vxsim
*
|
-vxworks
*
|
-ebmon
*
|
-hms
*
|
-mvs
*
\
...
@@ -1500,9 +1498,6 @@ case $os in
...
@@ -1500,9 +1498,6 @@ case $os in
-aros
*
)
-aros
*
)
os
=
-aros
os
=
-aros
;;
;;
-kaos
*
)
os
=
-kaos
;;
-zvmoe
)
-zvmoe
)
os
=
-zvmoe
os
=
-zvmoe
;;
;;
...
@@ -1551,6 +1546,9 @@ case $basic_machine in
...
@@ -1551,6 +1546,9 @@ case $basic_machine in
c4x-
*
|
tic4x-
*
)
c4x-
*
|
tic4x-
*
)
os
=
-coff
os
=
-coff
;;
;;
c8051-
*
)
os
=
-elf
;;
hexagon-
*
)
hexagon-
*
)
os
=
-elf
os
=
-elf
;;
;;
...
@@ -1594,6 +1592,9 @@ case $basic_machine in
...
@@ -1594,6 +1592,9 @@ case $basic_machine in
mips
*
-
*
)
mips
*
-
*
)
os
=
-elf
os
=
-elf
;;
;;
or1k-
*
)
os
=
-elf
;;
or32-
*
)
or32-
*
)
os
=
-coff
os
=
-coff
;;
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment