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
6f46683a
Commit
6f46683a
authored
Jun 07, 2017
by
Matthias Klose
Committed by
GitHub
Jun 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: update config.{guess,sub} from gnu.org. (GH-1987)
* Update config.{guess,sub} from gnu.org.
parent
9ba3aa4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
191 additions
and
96 deletions
+191
-96
config.guess
config.guess
+125
-72
config.sub
config.sub
+66
-24
No files found.
config.guess
View file @
6f46683a
#! /bin/sh
#! /bin/sh
# Attempt to guess a canonical system name.
# Attempt to guess a canonical system name.
# Copyright 1992-201
4
Free Software Foundation, Inc.
# Copyright 1992-201
7
Free Software Foundation, Inc.
timestamp
=
'201
4-03-23
'
timestamp
=
'201
7-05-27
'
# 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
...
@@ -24,12 +24,12 @@ timestamp='2014-03-23'
...
@@ -24,12 +24,12 @@ timestamp='2014-03-23'
# 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
; maintained since 2000 by Ben Elliston
.
#
#
# 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
#
#
# Please send patches
with a ChangeLog entry to config-patches@gnu.org
.
# Please send patches
to <config-patches@gnu.org>
.
me
=
`
echo
"
$0
"
|
sed
-e
's,.*/,,'
`
me
=
`
echo
"
$0
"
|
sed
-e
's,.*/,,'
`
...
@@ -50,7 +50,7 @@ version="\
...
@@ -50,7 +50,7 @@ version="\
GNU config.guess (
$timestamp
)
GNU config.guess (
$timestamp
)
Originally written by Per Bothner.
Originally written by Per Bothner.
Copyright 1992-201
4
Free Software Foundation, Inc.
Copyright 1992-201
7
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."
...
@@ -168,19 +168,29 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
...
@@ -168,19 +168,29 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# Note: NetBSD doesn't particularly care about the vendor
# Note: NetBSD doesn't particularly care about the vendor
# portion of the name. We always set it to "unknown".
# portion of the name. We always set it to "unknown".
sysctl
=
"sysctl -n hw.machine_arch"
sysctl
=
"sysctl -n hw.machine_arch"
UNAME_MACHINE_ARCH
=
`
(
/sbin/
$sysctl
2>/dev/null
||
\
UNAME_MACHINE_ARCH
=
`
(
uname
-p
2>/dev/null
||
\
/usr/sbin/
$sysctl
2>/dev/null
||
echo
unknown
)
`
/sbin/
$sysctl
2>/dev/null
||
\
/usr/sbin/
$sysctl
2>/dev/null
||
\
echo
unknown
)
`
case
"
${
UNAME_MACHINE_ARCH
}
"
in
case
"
${
UNAME_MACHINE_ARCH
}
"
in
armeb
)
machine
=
armeb-unknown
;;
armeb
)
machine
=
armeb-unknown
;;
arm
*
)
machine
=
arm-unknown
;;
arm
*
)
machine
=
arm-unknown
;;
sh3el
)
machine
=
shl-unknown
;;
sh3el
)
machine
=
shl-unknown
;;
sh3eb
)
machine
=
sh-unknown
;;
sh3eb
)
machine
=
sh-unknown
;;
sh5el
)
machine
=
sh5le-unknown
;;
sh5el
)
machine
=
sh5le-unknown
;;
earmv
*
)
arch
=
`
echo
${
UNAME_MACHINE_ARCH
}
|
sed
-e
's,^e\(armv[0-9]\).*$,\1,'
`
endian
=
`
echo
${
UNAME_MACHINE_ARCH
}
|
sed
-ne
's,^.*\(eb\)$,\1,p'
`
machine
=
${
arch
}${
endian
}
-unknown
;;
*
)
machine
=
${
UNAME_MACHINE_ARCH
}
-unknown
;;
*
)
machine
=
${
UNAME_MACHINE_ARCH
}
-unknown
;;
esac
esac
# The Operating System including object format, if it has switched
# The Operating System including object format, if it has switched
# to ELF recently
, or will in the future
.
# to ELF recently
(or will in the future) and ABI
.
case
"
${
UNAME_MACHINE_ARCH
}
"
in
case
"
${
UNAME_MACHINE_ARCH
}
"
in
earm
*
)
os
=
netbsdelf
;;
arm
*
|
i386|m68k|ns32k|sh3
*
|
sparc|vax
)
arm
*
|
i386|m68k|ns32k|sh3
*
|
sparc|vax
)
eval
$set_cc_for_build
eval
$set_cc_for_build
if
echo
__ELF__ |
$CC_FOR_BUILD
-E
- 2>/dev/null
\
if
echo
__ELF__ |
$CC_FOR_BUILD
-E
- 2>/dev/null
\
...
@@ -197,6 +207,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
...
@@ -197,6 +207,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
os
=
netbsd
os
=
netbsd
;;
;;
esac
esac
# Determine ABI tags.
case
"
${
UNAME_MACHINE_ARCH
}
"
in
earm
*
)
expr
=
's/^earmv[0-9]/-eabi/;s/eb$//'
abi
=
`
echo
${
UNAME_MACHINE_ARCH
}
|
sed
-e
"
$expr
"
`
;;
esac
# The OS release
# The OS release
# Debian GNU/NetBSD machines have a different userland, and
# Debian GNU/NetBSD machines have a different userland, and
# thus, need a distinct triplet. However, they do not need
# thus, need a distinct triplet. However, they do not need
...
@@ -207,13 +224,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
...
@@ -207,13 +224,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
release
=
'-gnu'
release
=
'-gnu'
;;
;;
*
)
*
)
release
=
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-_].*/\./'
`
release
=
`
echo
${
UNAME_RELEASE
}
|
sed
-e
's/[-_].*//'
|
cut
-d
.
-f1
,2
`
;;
;;
esac
esac
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
# contains redundant information, the shorter form:
# contains redundant information, the shorter form:
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
echo
"
${
machine
}
-
${
os
}${
release
}
"
echo
"
${
machine
}
-
${
os
}${
release
}
${
abi
}
"
exit
;;
exit
;;
*
:Bitrig:
*
:
*
)
*
:Bitrig:
*
:
*
)
UNAME_MACHINE_ARCH
=
`
arch
|
sed
's/Bitrig.//'
`
UNAME_MACHINE_ARCH
=
`
arch
|
sed
's/Bitrig.//'
`
...
@@ -223,6 +240,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
...
@@ -223,6 +240,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
UNAME_MACHINE_ARCH
=
`
arch
|
sed
's/OpenBSD.//'
`
UNAME_MACHINE_ARCH
=
`
arch
|
sed
's/OpenBSD.//'
`
echo
${
UNAME_MACHINE_ARCH
}
-unknown-openbsd
${
UNAME_RELEASE
}
echo
${
UNAME_MACHINE_ARCH
}
-unknown-openbsd
${
UNAME_RELEASE
}
exit
;;
exit
;;
*
:LibertyBSD:
*
:
*
)
UNAME_MACHINE_ARCH
=
`
arch
|
sed
's/^.*BSD\.//'
`
echo
${
UNAME_MACHINE_ARCH
}
-unknown-libertybsd
${
UNAME_RELEASE
}
exit
;;
*
:ekkoBSD:
*
:
*
)
*
:ekkoBSD:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-ekkobsd
${
UNAME_RELEASE
}
echo
${
UNAME_MACHINE
}
-unknown-ekkobsd
${
UNAME_RELEASE
}
exit
;;
exit
;;
...
@@ -235,6 +256,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
...
@@ -235,6 +256,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*
:MirBSD:
*
:
*
)
*
:MirBSD:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-mirbsd
${
UNAME_RELEASE
}
echo
${
UNAME_MACHINE
}
-unknown-mirbsd
${
UNAME_RELEASE
}
exit
;;
exit
;;
*
:Sortix:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-sortix
exit
;;
alpha:OSF1:
*
:
*
)
alpha:OSF1:
*
:
*
)
case
$UNAME_RELEASE
in
case
$UNAME_RELEASE
in
*
4.0
)
*
4.0
)
...
@@ -251,42 +275,42 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
...
@@ -251,42 +275,42 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
ALPHA_CPU_TYPE
=
`
/usr/sbin/psrinfo
-v
|
sed
-n
-e
's/^ The alpha \(.*\) processor.*$/\1/p'
|
head
-n
1
`
ALPHA_CPU_TYPE
=
`
/usr/sbin/psrinfo
-v
|
sed
-n
-e
's/^ The alpha \(.*\) processor.*$/\1/p'
|
head
-n
1
`
case
"
$ALPHA_CPU_TYPE
"
in
case
"
$ALPHA_CPU_TYPE
"
in
"EV4 (21064)"
)
"EV4 (21064)"
)
UNAME_MACHINE
=
"alpha"
;;
UNAME_MACHINE
=
alpha
;;
"EV4.5 (21064)"
)
"EV4.5 (21064)"
)
UNAME_MACHINE
=
"alpha"
;;
UNAME_MACHINE
=
alpha
;;
"LCA4 (21066/21068)"
)
"LCA4 (21066/21068)"
)
UNAME_MACHINE
=
"alpha"
;;
UNAME_MACHINE
=
alpha
;;
"EV5 (21164)"
)
"EV5 (21164)"
)
UNAME_MACHINE
=
"alphaev5"
;;
UNAME_MACHINE
=
alphaev5
;;
"EV5.6 (21164A)"
)
"EV5.6 (21164A)"
)
UNAME_MACHINE
=
"alphaev56"
;;
UNAME_MACHINE
=
alphaev56
;;
"EV5.6 (21164PC)"
)
"EV5.6 (21164PC)"
)
UNAME_MACHINE
=
"alphapca56"
;;
UNAME_MACHINE
=
alphapca56
;;
"EV5.7 (21164PC)"
)
"EV5.7 (21164PC)"
)
UNAME_MACHINE
=
"alphapca57"
;;
UNAME_MACHINE
=
alphapca57
;;
"EV6 (21264)"
)
"EV6 (21264)"
)
UNAME_MACHINE
=
"alphaev6"
;;
UNAME_MACHINE
=
alphaev6
;;
"EV6.7 (21264A)"
)
"EV6.7 (21264A)"
)
UNAME_MACHINE
=
"alphaev67"
;;
UNAME_MACHINE
=
alphaev67
;;
"EV6.8CB (21264C)"
)
"EV6.8CB (21264C)"
)
UNAME_MACHINE
=
"alphaev68"
;;
UNAME_MACHINE
=
alphaev68
;;
"EV6.8AL (21264B)"
)
"EV6.8AL (21264B)"
)
UNAME_MACHINE
=
"alphaev68"
;;
UNAME_MACHINE
=
alphaev68
;;
"EV6.8CX (21264D)"
)
"EV6.8CX (21264D)"
)
UNAME_MACHINE
=
"alphaev68"
;;
UNAME_MACHINE
=
alphaev68
;;
"EV6.9A (21264/EV69A)"
)
"EV6.9A (21264/EV69A)"
)
UNAME_MACHINE
=
"alphaev69"
;;
UNAME_MACHINE
=
alphaev69
;;
"EV7 (21364)"
)
"EV7 (21364)"
)
UNAME_MACHINE
=
"alphaev7"
;;
UNAME_MACHINE
=
alphaev7
;;
"EV7.9 (21364A)"
)
"EV7.9 (21364A)"
)
UNAME_MACHINE
=
"alphaev79"
;;
UNAME_MACHINE
=
alphaev79
;;
esac
esac
# A Pn.n version is a patched version.
# A Pn.n version is a patched version.
# A Vn.n version is a released version.
# A Vn.n version is a released version.
# A Tn.n version is a released field test version.
# A Tn.n version is a released field test version.
# A Xn.n version is an unreleased experimental baselevel.
# A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
# 1.2 uses "1.2" for uname -r.
echo
${
UNAME_MACHINE
}
-dec-osf
`
echo
${
UNAME_RELEASE
}
|
sed
-e
's/^[PVTX]//'
|
tr
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
'abcdefghijklmnopqrstuvwxyz'
`
echo
${
UNAME_MACHINE
}
-dec-osf
`
echo
${
UNAME_RELEASE
}
|
sed
-e
's/^[PVTX]//'
|
tr
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
`
# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
exitcode
=
$?
exitcode
=
$?
trap
''
0
trap
''
0
...
@@ -359,16 +383,16 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
...
@@ -359,16 +383,16 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
exit
;;
exit
;;
i86pc:SunOS:5.
*
:
*
|
i86xen:SunOS:5.
*
:
*
)
i86pc:SunOS:5.
*
:
*
|
i86xen:SunOS:5.
*
:
*
)
eval
$set_cc_for_build
eval
$set_cc_for_build
SUN_ARCH
=
"i386"
SUN_ARCH
=
i386
# If there is a compiler, see if it is configured for 64-bit objects.
# If there is a compiler, see if it is configured for 64-bit objects.
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
# This test works for both compilers.
# This test works for both compilers.
if
[
"
$CC_FOR_BUILD
"
!=
'no_compiler_found'
]
;
then
if
[
"
$CC_FOR_BUILD
"
!=
no_compiler_found
]
;
then
if
(
echo
'#ifdef __amd64'
;
echo
IS_64BIT_ARCH
;
echo
'#endif'
)
|
\
if
(
echo
'#ifdef __amd64'
;
echo
IS_64BIT_ARCH
;
echo
'#endif'
)
|
\
(
CCOPTS
=
$CC_FOR_BUILD
-E
- 2>/dev/null
)
|
\
(
CCOPTS
=
""
$CC_FOR_BUILD
-E
- 2>/dev/null
)
|
\
grep
IS_64BIT_ARCH
>
/dev/null
grep
IS_64BIT_ARCH
>
/dev/null
then
then
SUN_ARCH
=
"x86_64"
SUN_ARCH
=
x86_64
fi
fi
fi
fi
echo
${
SUN_ARCH
}
-pc-solaris2
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*//'
`
echo
${
SUN_ARCH
}
-pc-solaris2
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*//'
`
...
@@ -393,7 +417,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
...
@@ -393,7 +417,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
exit
;;
exit
;;
sun
*
:
*
:4.2BSD:
*
)
sun
*
:
*
:4.2BSD:
*
)
UNAME_RELEASE
=
`
(
sed
1q /etc/motd |
awk
'{print substr($5,1,3)}'
)
2>/dev/null
`
UNAME_RELEASE
=
`
(
sed
1q /etc/motd |
awk
'{print substr($5,1,3)}'
)
2>/dev/null
`
test
"x
${
UNAME_RELEASE
}
"
=
"x"
&&
UNAME_RELEASE
=
3
test
"x
${
UNAME_RELEASE
}
"
=
x
&&
UNAME_RELEASE
=
3
case
"
`
/bin/arch
`
"
in
case
"
`
/bin/arch
`
"
in
sun3
)
sun3
)
echo
m68k-sun-sunos
${
UNAME_RELEASE
}
echo
m68k-sun-sunos
${
UNAME_RELEASE
}
...
@@ -579,8 +603,9 @@ EOF
...
@@ -579,8 +603,9 @@ EOF
else
else
IBM_ARCH
=
powerpc
IBM_ARCH
=
powerpc
fi
fi
if
[
-x
/usr/bin/oslevel
]
;
then
if
[
-x
/usr/bin/lslpp
]
;
then
IBM_REV
=
`
/usr/bin/oslevel
`
IBM_REV
=
`
/usr/bin/lslpp
-Lqc
bos.rte.libc |
awk
-F
:
'{ print $3 }'
|
sed
s/[0-9]
*
$/
0/
`
else
else
IBM_REV
=
${
UNAME_VERSION
}
.
${
UNAME_RELEASE
}
IBM_REV
=
${
UNAME_VERSION
}
.
${
UNAME_RELEASE
}
fi
fi
...
@@ -617,13 +642,13 @@ EOF
...
@@ -617,13 +642,13 @@ EOF
sc_cpu_version
=
`
/usr/bin/getconf SC_CPU_VERSION 2>/dev/null
`
sc_cpu_version
=
`
/usr/bin/getconf SC_CPU_VERSION 2>/dev/null
`
sc_kernel_bits
=
`
/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null
`
sc_kernel_bits
=
`
/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null
`
case
"
${
sc_cpu_version
}
"
in
case
"
${
sc_cpu_version
}
"
in
523
)
HP_ARCH
=
"hppa1.0"
;;
# CPU_PA_RISC1_0
523
)
HP_ARCH
=
hppa1.0
;;
# CPU_PA_RISC1_0
528
)
HP_ARCH
=
"hppa1.1"
;;
# CPU_PA_RISC1_1
528
)
HP_ARCH
=
hppa1.1
;;
# CPU_PA_RISC1_1
532
)
# CPU_PA_RISC2_0
532
)
# CPU_PA_RISC2_0
case
"
${
sc_kernel_bits
}
"
in
case
"
${
sc_kernel_bits
}
"
in
32
)
HP_ARCH
=
"hppa2.0n"
;;
32
)
HP_ARCH
=
hppa2.0n
;;
64
)
HP_ARCH
=
"hppa2.0w"
;;
64
)
HP_ARCH
=
hppa2.0w
;;
''
)
HP_ARCH
=
"hppa2.0"
;;
# HP-UX 10.20
''
)
HP_ARCH
=
hppa2.0
;;
# HP-UX 10.20
esac
;;
esac
;;
esac
esac
fi
fi
...
@@ -662,11 +687,11 @@ EOF
...
@@ -662,11 +687,11 @@ EOF
exit (0);
exit (0);
}
}
EOF
EOF
(
CCOPTS
=
$CC_FOR_BUILD
-o
$dummy
$dummy
.c 2>/dev/null
)
&&
HP_ARCH
=
`
$dummy
`
(
CCOPTS
=
""
$CC_FOR_BUILD
-o
$dummy
$dummy
.c 2>/dev/null
)
&&
HP_ARCH
=
`
$dummy
`
test
-z
"
$HP_ARCH
"
&&
HP_ARCH
=
hppa
test
-z
"
$HP_ARCH
"
&&
HP_ARCH
=
hppa
fi
;;
fi
;;
esac
esac
if
[
${
HP_ARCH
}
=
"hppa2.0w"
]
if
[
${
HP_ARCH
}
=
hppa2.0w
]
then
then
eval
$set_cc_for_build
eval
$set_cc_for_build
...
@@ -679,12 +704,12 @@ EOF
...
@@ -679,12 +704,12 @@ EOF
# $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
# $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
# => hppa64-hp-hpux11.23
# => hppa64-hp-hpux11.23
if
echo
__LP64__ |
(
CCOPTS
=
$CC_FOR_BUILD
-E
- 2>/dev/null
)
|
if
echo
__LP64__ |
(
CCOPTS
=
""
$CC_FOR_BUILD
-E
- 2>/dev/null
)
|
grep
-q
__LP64__
grep
-q
__LP64__
then
then
HP_ARCH
=
"hppa2.0w"
HP_ARCH
=
hppa2.0w
else
else
HP_ARCH
=
"hppa64"
HP_ARCH
=
hppa64
fi
fi
fi
fi
echo
${
HP_ARCH
}
-hp-hpux
${
HPUX_REV
}
echo
${
HP_ARCH
}
-hp-hpux
${
HPUX_REV
}
...
@@ -789,14 +814,14 @@ EOF
...
@@ -789,14 +814,14 @@ EOF
echo
craynv-cray-unicosmp
${
UNAME_RELEASE
}
|
sed
-e
's/\.[^.]*$/.X/'
echo
craynv-cray-unicosmp
${
UNAME_RELEASE
}
|
sed
-e
's/\.[^.]*$/.X/'
exit
;;
exit
;;
F30[01]:UNIX_System_V:
*
:
*
|
F700:UNIX_System_V:
*
:
*
)
F30[01]:UNIX_System_V:
*
:
*
|
F700:UNIX_System_V:
*
:
*
)
FUJITSU_PROC
=
`
uname
-m
|
tr
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
'abcdefghijklmnopqrstuvwxyz'
`
FUJITSU_PROC
=
`
uname
-m
|
tr
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
`
FUJITSU_SYS
=
`
uname
-p
|
tr
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
'abcdefghijklmnopqrstuvwxyz'
|
sed
-e
's/\///'
`
FUJITSU_SYS
=
`
uname
-p
|
tr
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
|
sed
-e
's/\///'
`
FUJITSU_REL
=
`
echo
${
UNAME_RELEASE
}
|
sed
-e
's/ /_/'
`
FUJITSU_REL
=
`
echo
${
UNAME_RELEASE
}
|
sed
-e
's/ /_/'
`
echo
"
${
FUJITSU_PROC
}
-fujitsu-
${
FUJITSU_SYS
}${
FUJITSU_REL
}
"
echo
"
${
FUJITSU_PROC
}
-fujitsu-
${
FUJITSU_SYS
}${
FUJITSU_REL
}
"
exit
;;
exit
;;
5000:UNIX_System_V:4.
*
:
*
)
5000:UNIX_System_V:4.
*
:
*
)
FUJITSU_SYS
=
`
uname
-p
|
tr
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
'abcdefghijklmnopqrstuvwxyz'
|
sed
-e
's/\///'
`
FUJITSU_SYS
=
`
uname
-p
|
tr
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
|
sed
-e
's/\///'
`
FUJITSU_REL
=
`
echo
${
UNAME_RELEASE
}
|
tr
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
'abcdefghijklmnopqrstuvwxyz'
|
sed
-e
's/ /_/'
`
FUJITSU_REL
=
`
echo
${
UNAME_RELEASE
}
|
tr
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
|
sed
-e
's/ /_/'
`
echo
"sparc-fujitsu-
${
FUJITSU_SYS
}${
FUJITSU_REL
}
"
echo
"sparc-fujitsu-
${
FUJITSU_SYS
}${
FUJITSU_REL
}
"
exit
;;
exit
;;
i
*
86:BSD/386:
*
:
*
|
i
*
86:BSD/OS:
*
:
*
|
*
:Ascend
\
Embedded/OS:
*
:
*
)
i
*
86:BSD/386:
*
:
*
|
i
*
86:BSD/OS:
*
:
*
|
*
:Ascend
\
Embedded/OS:
*
:
*
)
...
@@ -812,10 +837,11 @@ EOF
...
@@ -812,10 +837,11 @@ EOF
UNAME_PROCESSOR
=
`
/usr/bin/uname
-p
`
UNAME_PROCESSOR
=
`
/usr/bin/uname
-p
`
case
${
UNAME_PROCESSOR
}
in
case
${
UNAME_PROCESSOR
}
in
amd64
)
amd64
)
echo
x86_64-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
;;
UNAME_PROCESSOR
=
x86_64
;;
*
)
i386
)
echo
${
UNAME_PROCESSOR
}
-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
;;
UNAME_PROCESSOR
=
i586
;;
esac
esac
echo
${
UNAME_PROCESSOR
}
-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
exit
;;
exit
;;
i
*
:CYGWIN
*
:
*
)
i
*
:CYGWIN
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-cygwin
echo
${
UNAME_MACHINE
}
-pc-cygwin
...
@@ -878,7 +904,7 @@ EOF
...
@@ -878,7 +904,7 @@ EOF
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/[-(].*//'
`
-
${
LIBC
}
echo
${
UNAME_MACHINE
}
-unknown-
`
echo
${
UNAME_SYSTEM
}
|
sed
's,^[^/]*/,,'
|
tr
"[:upper:]"
"[:lower:]"
``
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
...
@@ -901,7 +927,7 @@ EOF
...
@@ -901,7 +927,7 @@ 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
=
"gnulibc1"
;
fi
if
test
"
$?
"
=
0
;
then
LIBC
=
gnulibc1
;
fi
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
arc:Linux:
*
:
*
|
arceb:Linux:
*
:
*
)
arc:Linux:
*
:
*
|
arceb:Linux:
*
:
*
)
...
@@ -932,6 +958,9 @@ EOF
...
@@ -932,6 +958,9 @@ EOF
crisv32:Linux:
*
:
*
)
crisv32:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-axis-linux-
${
LIBC
}
echo
${
UNAME_MACHINE
}
-axis-linux-
${
LIBC
}
exit
;;
exit
;;
e2k:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
frv:Linux:
*
:
*
)
frv:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
...
@@ -944,6 +973,9 @@ EOF
...
@@ -944,6 +973,9 @@ EOF
ia64:Linux:
*
:
*
)
ia64:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
k1om:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
m32r
*
:Linux:
*
:
*
)
m32r
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
...
@@ -969,6 +1001,9 @@ EOF
...
@@ -969,6 +1001,9 @@ 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-
${
LIBC
}
"
;
exit
;
}
test
x
"
${
CPU
}
"
!=
x
&&
{
echo
"
${
CPU
}
-unknown-linux-
${
LIBC
}
"
;
exit
;
}
;;
;;
mips64el:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
openrisc
*
:Linux:
*
:
*
)
openrisc
*
:Linux:
*
:
*
)
echo
or1k-unknown-linux-
${
LIBC
}
echo
or1k-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
...
@@ -1001,6 +1036,9 @@ EOF
...
@@ -1001,6 +1036,9 @@ EOF
ppcle:Linux:
*
:
*
)
ppcle:Linux:
*
:
*
)
echo
powerpcle-unknown-linux-
${
LIBC
}
echo
powerpcle-unknown-linux-
${
LIBC
}
exit
;;
exit
;;
riscv32:Linux:
*
:
*
|
riscv64:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
s390:Linux:
*
:
*
|
s390x:Linux:
*
:
*
)
s390:Linux:
*
:
*
|
s390x:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-ibm-linux-
${
LIBC
}
echo
${
UNAME_MACHINE
}
-ibm-linux-
${
LIBC
}
exit
;;
exit
;;
...
@@ -1020,7 +1058,7 @@ EOF
...
@@ -1020,7 +1058,7 @@ EOF
echo
${
UNAME_MACHINE
}
-dec-linux-
${
LIBC
}
echo
${
UNAME_MACHINE
}
-dec-linux-
${
LIBC
}
exit
;;
exit
;;
x86_64:Linux:
*
:
*
)
x86_64:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-
unknown
-linux-
${
LIBC
}
echo
${
UNAME_MACHINE
}
-
pc
-linux-
${
LIBC
}
exit
;;
exit
;;
xtensa
*
:Linux:
*
:
*
)
xtensa
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
...
@@ -1099,7 +1137,7 @@ EOF
...
@@ -1099,7 +1137,7 @@ EOF
# uname -m prints for DJGPP always 'pc', but it prints nothing about
# uname -m prints for DJGPP always 'pc', but it prints nothing about
# the processor, so we play safe by assuming i586.
# the processor, so we play safe by assuming i586.
# Note: whatever this is, it MUST be the same as what config.sub
# Note: whatever this is, it MUST be the same as what config.sub
# prints for the "djgpp" host, or else GDB configur
y
will decide that
# prints for the "djgpp" host, or else GDB configur
e
will decide that
# this is a cross-build.
# this is a cross-build.
echo
i586-pc-msdosdjgpp
echo
i586-pc-msdosdjgpp
exit
;;
exit
;;
...
@@ -1248,6 +1286,9 @@ EOF
...
@@ -1248,6 +1286,9 @@ EOF
SX-8R:SUPER-UX:
*
:
*
)
SX-8R:SUPER-UX:
*
:
*
)
echo
sx8r-nec-superux
${
UNAME_RELEASE
}
echo
sx8r-nec-superux
${
UNAME_RELEASE
}
exit
;;
exit
;;
SX-ACE:SUPER-UX:
*
:
*
)
echo
sxace-nec-superux
${
UNAME_RELEASE
}
exit
;;
Power
*
:Rhapsody:
*
:
*
)
Power
*
:Rhapsody:
*
:
*
)
echo
powerpc-apple-rhapsody
${
UNAME_RELEASE
}
echo
powerpc-apple-rhapsody
${
UNAME_RELEASE
}
exit
;;
exit
;;
...
@@ -1261,16 +1302,23 @@ EOF
...
@@ -1261,16 +1302,23 @@ EOF
UNAME_PROCESSOR
=
powerpc
UNAME_PROCESSOR
=
powerpc
fi
fi
if
test
`
echo
"
$UNAME_RELEASE
"
|
sed
-e
's/\..*//'
`
-le
10
;
then
if
test
`
echo
"
$UNAME_RELEASE
"
|
sed
-e
's/\..*//'
`
-le
10
;
then
if
[
"
$CC_FOR_BUILD
"
!=
'no_compiler_found'
]
;
then
if
[
"
$CC_FOR_BUILD
"
!=
no_compiler_found
]
;
then
if
(
echo
'#ifdef __LP64__'
;
echo
IS_64BIT_ARCH
;
echo
'#endif'
)
|
\
if
(
echo
'#ifdef __LP64__'
;
echo
IS_64BIT_ARCH
;
echo
'#endif'
)
|
\
(
CCOPTS
=
$CC_FOR_BUILD
-E
- 2>/dev/null
)
|
\
(
CCOPTS
=
""
$CC_FOR_BUILD
-E
- 2>/dev/null
)
|
\
grep
IS_64BIT_ARCH
>
/dev/null
grep
IS_64BIT_ARCH
>
/dev/null
then
then
case
$UNAME_PROCESSOR
in
case
$UNAME_PROCESSOR
in
i386
)
UNAME_PROCESSOR
=
x86_64
;;
i386
)
UNAME_PROCESSOR
=
x86_64
;;
powerpc
)
UNAME_PROCESSOR
=
powerpc64
;;
powerpc
)
UNAME_PROCESSOR
=
powerpc64
;;
esac
esac
fi
fi
# On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
if
(
echo
'#ifdef __POWERPC__'
;
echo
IS_PPC
;
echo
'#endif'
)
|
\
(
CCOPTS
=
""
$CC_FOR_BUILD
-E
- 2>/dev/null
)
|
\
grep
IS_PPC
>
/dev/null
then
UNAME_PROCESSOR
=
powerpc
fi
fi
fi
elif
test
"
$UNAME_PROCESSOR
"
=
i386
;
then
elif
test
"
$UNAME_PROCESSOR
"
=
i386
;
then
# Avoid executing cc on OS X 10.9, as it ships with a stub
# Avoid executing cc on OS X 10.9, as it ships with a stub
...
@@ -1285,7 +1333,7 @@ EOF
...
@@ -1285,7 +1333,7 @@ EOF
exit
;;
exit
;;
*
:procnto
*
:
*
:
*
|
*
:QNX:[0123456789]
*
:
*
)
*
:procnto
*
:
*
:
*
|
*
:QNX:[0123456789]
*
:
*
)
UNAME_PROCESSOR
=
`
uname
-p
`
UNAME_PROCESSOR
=
`
uname
-p
`
if
test
"
$UNAME_PROCESSOR
"
=
"x86"
;
then
if
test
"
$UNAME_PROCESSOR
"
=
x86
;
then
UNAME_PROCESSOR
=
i386
UNAME_PROCESSOR
=
i386
UNAME_MACHINE
=
pc
UNAME_MACHINE
=
pc
fi
fi
...
@@ -1294,15 +1342,18 @@ EOF
...
@@ -1294,15 +1342,18 @@ EOF
*
:QNX:
*
:4
*
)
*
:QNX:
*
:4
*
)
echo
i386-pc-qnx
echo
i386-pc-qnx
exit
;;
exit
;;
NEO-
?
:NONSTOP_KERNEL:
*
:
*
)
NEO-
*
:NONSTOP_KERNEL:
*
:
*
)
echo
neo-tandem-nsk
${
UNAME_RELEASE
}
echo
neo-tandem-nsk
${
UNAME_RELEASE
}
exit
;;
exit
;;
NSE-
*
:NONSTOP_KERNEL:
*
:
*
)
NSE-
*
:NONSTOP_KERNEL:
*
:
*
)
echo
nse-tandem-nsk
${
UNAME_RELEASE
}
echo
nse-tandem-nsk
${
UNAME_RELEASE
}
exit
;;
exit
;;
NSR-
?
:NONSTOP_KERNEL:
*
:
*
)
NSR-
*
:NONSTOP_KERNEL:
*
:
*
)
echo
nsr-tandem-nsk
${
UNAME_RELEASE
}
echo
nsr-tandem-nsk
${
UNAME_RELEASE
}
exit
;;
exit
;;
NSX-
*
:NONSTOP_KERNEL:
*
:
*
)
echo
nsx-tandem-nsk
${
UNAME_RELEASE
}
exit
;;
*
:NonStop-UX:
*
:
*
)
*
:NonStop-UX:
*
:
*
)
echo
mips-compaq-nonstopux
echo
mips-compaq-nonstopux
exit
;;
exit
;;
...
@@ -1316,7 +1367,7 @@ EOF
...
@@ -1316,7 +1367,7 @@ EOF
# "uname -m" is not consistent, so use $cputype instead. 386
# "uname -m" is not consistent, so use $cputype instead. 386
# is converted to i386 for consistency with other x86
# is converted to i386 for consistency with other x86
# operating systems.
# operating systems.
if
test
"
$cputype
"
=
"386"
;
then
if
test
"
$cputype
"
=
386
;
then
UNAME_MACHINE
=
i386
UNAME_MACHINE
=
i386
else
else
UNAME_MACHINE
=
"
$cputype
"
UNAME_MACHINE
=
"
$cputype
"
...
@@ -1358,7 +1409,7 @@ EOF
...
@@ -1358,7 +1409,7 @@ EOF
echo
i386-pc-xenix
echo
i386-pc-xenix
exit
;;
exit
;;
i
*
86:skyos:
*
:
*
)
i
*
86:skyos:
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-skyos
`
echo
${
UNAME_RELEASE
}
`
|
sed
-e
's/ .*$//'
echo
${
UNAME_MACHINE
}
-pc-skyos
`
echo
${
UNAME_RELEASE
}
|
sed
-e
's/ .*$//'
`
exit
;;
exit
;;
i
*
86:rdos:
*
:
*
)
i
*
86:rdos:
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-rdos
echo
${
UNAME_MACHINE
}
-pc-rdos
...
@@ -1369,23 +1420,25 @@ EOF
...
@@ -1369,23 +1420,25 @@ EOF
x86_64:VMkernel:
*
:
*
)
x86_64:VMkernel:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-esx
echo
${
UNAME_MACHINE
}
-unknown-esx
exit
;;
exit
;;
amd64:Isilon
\
OneFS:
*
:
*
)
echo
x86_64-unknown-onefs
exit
;;
esac
esac
cat
>
&2
<<
EOF
cat
>
&2
<<
EOF
$0
: unable to guess system type
$0
: unable to guess system type
This script
, last modified
$timestamp
, has failed to recogniz
e
This script
(version
$timestamp
), has failed to recognize th
e
the operating system you are using. It is advised that you
operating system you are using. If your script is old, overwrite
download the most up to date version of the config scripts from
config.guess and config.sub with the latest versions 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
and
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
;hb=HEAD
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
If the version you run (
$0
) is already up to date, please
If
$0
has already been updated, send the following data and any
send the following data and any information you think might be
information you think might be pertinent to config-patches@gnu.org to
pertinent to <config-patches@gnu.org> in order to provide the needed
provide the necessary information to handle your system.
information to handle your system.
config.guess timestamp =
$timestamp
config.guess timestamp =
$timestamp
...
...
config.sub
View file @
6f46683a
#! /bin/sh
#! /bin/sh
# Configuration validation subroutine script.
# Configuration validation subroutine script.
# Copyright 1992-201
4
Free Software Foundation, Inc.
# Copyright 1992-201
7
Free Software Foundation, Inc.
timestamp
=
'201
4-05-01
'
timestamp
=
'201
7-04-02
'
# 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
...
@@ -25,7 +25,7 @@ timestamp='2014-05-01'
...
@@ -25,7 +25,7 @@ timestamp='2014-05-01'
# of the GNU General Public License, version 3 ("GPLv3").
# of the GNU General Public License, version 3 ("GPLv3").
# Please send patches
with a ChangeLog entry to config-patches@gnu.org
.
# Please send patches
to <config-patches@gnu.org>
.
#
#
# Configuration subroutine to validate and canonicalize a configuration type.
# Configuration subroutine to validate and canonicalize a configuration type.
# Supply the specified configuration type as an argument.
# Supply the specified configuration type as an argument.
...
@@ -33,7 +33,7 @@ timestamp='2014-05-01'
...
@@ -33,7 +33,7 @@ timestamp='2014-05-01'
# Otherwise, we print the canonical config type on stdout and succeed.
# Otherwise, we print the canonical config type on stdout and succeed.
# 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.sub
;hb=HEAD
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
# This file is supposed to be the same for all GNU packages
# This file is supposed to be the same for all GNU packages
# and recognize all the CPU types, system types and aliases
# and recognize all the CPU types, system types and aliases
...
@@ -53,8 +53,7 @@ timestamp='2014-05-01'
...
@@ -53,8 +53,7 @@ timestamp='2014-05-01'
me
=
`
echo
"
$0
"
|
sed
-e
's,.*/,,'
`
me
=
`
echo
"
$0
"
|
sed
-e
's,.*/,,'
`
usage
=
"
\
usage
=
"
\
Usage:
$0
[OPTION] CPU-MFR-OPSYS
Usage:
$0
[OPTION] CPU-MFR-OPSYS or ALIAS
$0
[OPTION] ALIAS
Canonicalize a configuration name.
Canonicalize a configuration name.
...
@@ -68,7 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>."
...
@@ -68,7 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>."
version
=
"
\
version
=
"
\
GNU config.sub (
$timestamp
)
GNU config.sub (
$timestamp
)
Copyright 1992-201
4
Free Software Foundation, Inc.
Copyright 1992-201
7
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."
...
@@ -117,8 +116,8 @@ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
...
@@ -117,8 +116,8 @@ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case
$maybe_os
in
case
$maybe_os
in
nto-qnx
*
|
linux-gnu
*
|
linux-android
*
|
linux-dietlibc
|
linux-newlib
*
|
\
nto-qnx
*
|
linux-gnu
*
|
linux-android
*
|
linux-dietlibc
|
linux-newlib
*
|
\
linux-musl
*
|
linux-uclibc
*
|
uclinux-uclibc
*
|
uclinux-gnu
*
|
kfreebsd
*
-gnu
*
|
\
linux-musl
*
|
linux-uclibc
*
|
uclinux-uclibc
*
|
uclinux-gnu
*
|
kfreebsd
*
-gnu
*
|
\
knetbsd
*
-gnu
*
|
netbsd
*
-gnu
*
|
\
knetbsd
*
-gnu
*
|
netbsd
*
-gnu
*
|
netbsd
*
-eabi
*
|
\
kopensolaris
*
-gnu
*
|
\
kopensolaris
*
-gnu
*
|
cloudabi
*
-eabi
*
|
\
storm-chaos
*
|
os2-emx
*
|
rtmk-nova
*
)
storm-chaos
*
|
os2-emx
*
|
rtmk-nova
*
)
os
=
-
$maybe_os
os
=
-
$maybe_os
basic_machine
=
`
echo
$1
|
sed
's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'
`
basic_machine
=
`
echo
$1
|
sed
's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'
`
...
@@ -255,15 +254,16 @@ case $basic_machine in
...
@@ -255,15 +254,16 @@ case $basic_machine in
|
arc
|
arceb
\
|
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
\
|
ba
\
|
be32
|
be64
\
|
be32
|
be64
\
|
bfin
\
|
bfin
\
|
c4x
|
c8051
|
clipper
\
|
c4x
|
c8051
|
clipper
\
|
d10v
|
d30v
|
dlx
|
dsp16xx
\
|
d10v
|
d30v
|
dlx
|
dsp16xx
\
|
epiphany
\
|
e
2k
|
e
piphany
\
|
fido
|
fr30
|
frv
\
|
fido
|
fr30
|
frv
|
ft32
\
|
h8300
|
h8500
|
hppa
|
hppa1.[01]
|
hppa2.0
|
hppa2.0[nw]
|
hppa64
\
|
h8300
|
h8500
|
hppa
|
hppa1.[01]
|
hppa2.0
|
hppa2.0[nw]
|
hppa64
\
|
hexagon
\
|
hexagon
\
|
i370
|
i860
|
i960
|
ia64
\
|
i370
|
i860
|
i960
|
ia
16
|
ia
64
\
|
ip2k
|
iq2000
\
|
ip2k
|
iq2000
\
|
k1om
\
|
k1om
\
|
le32
|
le64
\
|
le32
|
le64
\
...
@@ -301,10 +301,12 @@ case $basic_machine in
...
@@ -301,10 +301,12 @@ case $basic_machine in
|
open8
|
or1k
|
or1knd
|
or32
\
|
open8
|
or1k
|
or1knd
|
or32
\
|
pdp10
|
pdp11
|
pj
|
pjl
\
|
pdp10
|
pdp11
|
pj
|
pjl
\
|
powerpc
|
powerpc64
|
powerpc64le
|
powerpcle
\
|
powerpc
|
powerpc64
|
powerpc64le
|
powerpcle
\
|
pru
\
|
pyramid
\
|
pyramid
\
|
riscv32
|
riscv64
\
|
rl78
|
rx
\
|
rl78
|
rx
\
|
score
\
|
score
\
|
sh
|
sh[1234]
|
sh[24]a
|
sh[24]aeb
|
sh[23]e
|
sh[34]eb
|
sheb
|
shbe
|
shle
|
sh[1234]le
|
sh3ele
\
|
sh
|
sh[1234]
|
sh[24]a
|
sh[24]aeb
|
sh[23]e
|
sh[
2
34]eb
|
sheb
|
shbe
|
shle
|
sh[1234]le
|
sh3ele
\
|
sh64
|
sh64le
\
|
sh64
|
sh64le
\
|
sparc
|
sparc64
|
sparc64b
|
sparc64v
|
sparc86x
|
sparclet
|
sparclite
\
|
sparc
|
sparc64
|
sparc64b
|
sparc64v
|
sparc86x
|
sparclet
|
sparclite
\
|
sparcv8
|
sparcv9
|
sparcv9b
|
sparcv9v
\
|
sparcv8
|
sparcv9
|
sparcv9b
|
sparcv9v
\
...
@@ -312,6 +314,8 @@ case $basic_machine in
...
@@ -312,6 +314,8 @@ case $basic_machine in
|
tahoe
|
tic4x
|
tic54x
|
tic55x
|
tic6x
|
tic80
|
tron
\
|
tahoe
|
tic4x
|
tic54x
|
tic55x
|
tic6x
|
tic80
|
tron
\
|
ubicom32
\
|
ubicom32
\
|
v850
|
v850e
|
v850e1
|
v850e2
|
v850es
|
v850e2v3
\
|
v850
|
v850e
|
v850e1
|
v850e2
|
v850es
|
v850e2v3
\
|
visium
\
|
wasm32
\
|
we32k
\
|
we32k
\
|
x86
|
xc16x
|
xstormy16
|
xtensa
\
|
x86
|
xc16x
|
xstormy16
|
xtensa
\
|
z8k
|
z80
)
|
z8k
|
z80
)
...
@@ -326,6 +330,9 @@ case $basic_machine in
...
@@ -326,6 +330,9 @@ case $basic_machine in
c6x
)
c6x
)
basic_machine
=
tic6x-unknown
basic_machine
=
tic6x-unknown
;;
;;
leon|leon[3-9]
)
basic_machine
=
sparc-
$basic_machine
;;
m6811
|
m68hc11
|
m6812
|
m68hc12
|
m68hcs12x
|
nvptx
|
picochip
)
m6811
|
m68hc11
|
m6812
|
m68hc12
|
m68hcs12x
|
nvptx
|
picochip
)
basic_machine
=
$basic_machine
-unknown
basic_machine
=
$basic_machine
-unknown
os
=
-none
os
=
-none
...
@@ -371,17 +378,18 @@ case $basic_machine in
...
@@ -371,17 +378,18 @@ case $basic_machine in
|
alphapca5[67]-
*
|
alpha64pca5[67]-
*
|
arc-
*
|
arceb-
*
\
|
alphapca5[67]-
*
|
alpha64pca5[67]-
*
|
arc-
*
|
arceb-
*
\
|
arm-
*
|
armbe-
*
|
armle-
*
|
armeb-
*
|
armv
*
-
*
\
|
arm-
*
|
armbe-
*
|
armle-
*
|
armeb-
*
|
armv
*
-
*
\
|
avr-
*
|
avr32-
*
\
|
avr-
*
|
avr32-
*
\
|
ba-
*
\
|
be32-
*
|
be64-
*
\
|
be32-
*
|
be64-
*
\
|
bfin-
*
|
bs2000-
*
\
|
bfin-
*
|
bs2000-
*
\
|
c[123]
*
|
c30-
*
|
[
cjt]90-
*
|
c4x-
*
\
|
c[123]
*
|
c30-
*
|
[
cjt]90-
*
|
c4x-
*
\
|
c8051-
*
|
clipper-
*
|
craynv-
*
|
cydra-
*
\
|
c8051-
*
|
clipper-
*
|
craynv-
*
|
cydra-
*
\
|
d10v-
*
|
d30v-
*
|
dlx-
*
\
|
d10v-
*
|
d30v-
*
|
dlx-
*
\
|
elxsi-
*
\
|
e
2k-
*
|
e
lxsi-
*
\
|
f30[01]-
*
|
f700-
*
|
fido-
*
|
fr30-
*
|
frv-
*
|
fx80-
*
\
|
f30[01]-
*
|
f700-
*
|
fido-
*
|
fr30-
*
|
frv-
*
|
fx80-
*
\
|
h8300-
*
|
h8500-
*
\
|
h8300-
*
|
h8500-
*
\
|
hppa-
*
|
hppa1.[01]-
*
|
hppa2.0-
*
|
hppa2.0[nw]-
*
|
hppa64-
*
\
|
hppa-
*
|
hppa1.[01]-
*
|
hppa2.0-
*
|
hppa2.0[nw]-
*
|
hppa64-
*
\
|
hexagon-
*
\
|
hexagon-
*
\
|
i
*
86-
*
|
i860-
*
|
i960-
*
|
ia64-
*
\
|
i
*
86-
*
|
i860-
*
|
i960-
*
|
ia
16-
*
|
ia
64-
*
\
|
ip2k-
*
|
iq2000-
*
\
|
ip2k-
*
|
iq2000-
*
\
|
k1om-
*
\
|
k1om-
*
\
|
le32-
*
|
le64-
*
\
|
le32-
*
|
le64-
*
\
...
@@ -422,13 +430,15 @@ case $basic_machine in
...
@@ -422,13 +430,15 @@ case $basic_machine in
|
orion-
*
\
|
orion-
*
\
|
pdp10-
*
|
pdp11-
*
|
pj-
*
|
pjl-
*
|
pn-
*
|
power-
*
\
|
pdp10-
*
|
pdp11-
*
|
pj-
*
|
pjl-
*
|
pn-
*
|
power-
*
\
|
powerpc-
*
|
powerpc64-
*
|
powerpc64le-
*
|
powerpcle-
*
\
|
powerpc-
*
|
powerpc64-
*
|
powerpc64le-
*
|
powerpcle-
*
\
|
pru-
*
\
|
pyramid-
*
\
|
pyramid-
*
\
|
riscv32-
*
|
riscv64-
*
\
|
rl78-
*
|
romp-
*
|
rs6000-
*
|
rx-
*
\
|
rl78-
*
|
romp-
*
|
rs6000-
*
|
rx-
*
\
|
sh-
*
|
sh[1234]-
*
|
sh[24]a-
*
|
sh[24]aeb-
*
|
sh[23]e-
*
|
sh[34]eb-
*
|
sheb-
*
|
shbe-
*
\
|
sh-
*
|
sh[1234]-
*
|
sh[24]a-
*
|
sh[24]aeb-
*
|
sh[23]e-
*
|
sh[34]eb-
*
|
sheb-
*
|
shbe-
*
\
|
shle-
*
|
sh[1234]le-
*
|
sh3ele-
*
|
sh64-
*
|
sh64le-
*
\
|
shle-
*
|
sh[1234]le-
*
|
sh3ele-
*
|
sh64-
*
|
sh64le-
*
\
|
sparc-
*
|
sparc64-
*
|
sparc64b-
*
|
sparc64v-
*
|
sparc86x-
*
|
sparclet-
*
\
|
sparc-
*
|
sparc64-
*
|
sparc64b-
*
|
sparc64v-
*
|
sparc86x-
*
|
sparclet-
*
\
|
sparclite-
*
\
|
sparclite-
*
\
|
sparcv8-
*
|
sparcv9-
*
|
sparcv9b-
*
|
sparcv9v-
*
|
sv1-
*
|
sx
?
-
*
\
|
sparcv8-
*
|
sparcv9-
*
|
sparcv9b-
*
|
sparcv9v-
*
|
sv1-
*
|
sx
*
-
*
\
|
tahoe-
*
\
|
tahoe-
*
\
|
tic30-
*
|
tic4x-
*
|
tic54x-
*
|
tic55x-
*
|
tic6x-
*
|
tic80-
*
\
|
tic30-
*
|
tic4x-
*
|
tic54x-
*
|
tic55x-
*
|
tic6x-
*
|
tic80-
*
\
|
tile
*
-
*
\
|
tile
*
-
*
\
...
@@ -436,6 +446,8 @@ case $basic_machine in
...
@@ -436,6 +446,8 @@ case $basic_machine in
|
ubicom32-
*
\
|
ubicom32-
*
\
|
v850-
*
|
v850e-
*
|
v850e1-
*
|
v850es-
*
|
v850e2-
*
|
v850e2v3-
*
\
|
v850-
*
|
v850e-
*
|
v850e1-
*
|
v850es-
*
|
v850e2-
*
|
v850e2v3-
*
\
|
vax-
*
\
|
vax-
*
\
|
visium-
*
\
|
wasm32-
*
\
|
we32k-
*
\
|
we32k-
*
\
|
x86-
*
|
x86_64-
*
|
xc16x-
*
|
xps100-
*
\
|
x86-
*
|
x86_64-
*
|
xc16x-
*
|
xps100-
*
\
|
xstormy16-
*
|
xtensa
*
-
*
\
|
xstormy16-
*
|
xtensa
*
-
*
\
...
@@ -512,6 +524,9 @@ case $basic_machine in
...
@@ -512,6 +524,9 @@ case $basic_machine in
basic_machine
=
i386-pc
basic_machine
=
i386-pc
os
=
-aros
os
=
-aros
;;
;;
asmjs
)
basic_machine
=
asmjs-unknown
;;
aux
)
aux
)
basic_machine
=
m68k-apple
basic_machine
=
m68k-apple
os
=
-aux
os
=
-aux
...
@@ -632,6 +647,14 @@ case $basic_machine in
...
@@ -632,6 +647,14 @@ case $basic_machine in
basic_machine
=
m68k-bull
basic_machine
=
m68k-bull
os
=
-sysv3
os
=
-sysv3
;;
;;
e500v[12]
)
basic_machine
=
powerpc-unknown
os
=
$os
"spe"
;;
e500v[12]-
*
)
basic_machine
=
powerpc-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
os
=
$os
"spe"
;;
ebmon29k
)
ebmon29k
)
basic_machine
=
a29k-amd
basic_machine
=
a29k-amd
os
=
-ebmon
os
=
-ebmon
...
@@ -773,6 +796,9 @@ case $basic_machine in
...
@@ -773,6 +796,9 @@ case $basic_machine in
basic_machine
=
m68k-isi
basic_machine
=
m68k-isi
os
=
-sysv
os
=
-sysv
;;
;;
leon-
*
|
leon[3-9]-
*
)
basic_machine
=
sparc-
`
echo
$basic_machine
|
sed
's/-.*//'
`
;;
m68knommu
)
m68knommu
)
basic_machine
=
m68k-unknown
basic_machine
=
m68k-unknown
os
=
-linux
os
=
-linux
...
@@ -828,6 +854,10 @@ case $basic_machine in
...
@@ -828,6 +854,10 @@ case $basic_machine in
basic_machine
=
powerpc-unknown
basic_machine
=
powerpc-unknown
os
=
-morphos
os
=
-morphos
;;
;;
moxiebox
)
basic_machine
=
moxie-unknown
os
=
-moxiebox
;;
msdos
)
msdos
)
basic_machine
=
i386-pc
basic_machine
=
i386-pc
os
=
-msdos
os
=
-msdos
...
@@ -920,6 +950,9 @@ case $basic_machine in
...
@@ -920,6 +950,9 @@ case $basic_machine in
nsr-tandem
)
nsr-tandem
)
basic_machine
=
nsr-tandem
basic_machine
=
nsr-tandem
;;
;;
nsx-tandem
)
basic_machine
=
nsx-tandem
;;
op50n-
*
|
op60c-
*
)
op50n-
*
|
op60c-
*
)
basic_machine
=
hppa1.1-oki
basic_machine
=
hppa1.1-oki
os
=
-proelf
os
=
-proelf
...
@@ -1004,7 +1037,7 @@ case $basic_machine in
...
@@ -1004,7 +1037,7 @@ case $basic_machine in
ppc-
*
|
ppcbe-
*
)
ppc-
*
|
ppcbe-
*
)
basic_machine
=
powerpc-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
basic_machine
=
powerpc-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
;;
;;
ppcle
|
powerpclittle
|
ppc-le
|
powerpc-little
)
ppcle
|
powerpclittle
)
basic_machine
=
powerpcle-unknown
basic_machine
=
powerpcle-unknown
;;
;;
ppcle-
*
|
powerpclittle-
*
)
ppcle-
*
|
powerpclittle-
*
)
...
@@ -1014,7 +1047,7 @@ case $basic_machine in
...
@@ -1014,7 +1047,7 @@ case $basic_machine in
;;
;;
ppc64-
*
)
basic_machine
=
powerpc64-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
ppc64-
*
)
basic_machine
=
powerpc64-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
;;
;;
ppc64le
|
powerpc64little
|
ppc64-le
|
powerpc64-little
)
ppc64le
|
powerpc64little
)
basic_machine
=
powerpc64le-unknown
basic_machine
=
powerpc64le-unknown
;;
;;
ppc64le-
*
|
powerpc64little-
*
)
ppc64le-
*
|
powerpc64little-
*
)
...
@@ -1215,6 +1248,9 @@ case $basic_machine in
...
@@ -1215,6 +1248,9 @@ case $basic_machine in
basic_machine
=
a29k-wrs
basic_machine
=
a29k-wrs
os
=
-vxworks
os
=
-vxworks
;;
;;
wasm32
)
basic_machine
=
wasm32-unknown
;;
w65
*
)
w65
*
)
basic_machine
=
w65-wdc
basic_machine
=
w65-wdc
os
=
-none
os
=
-none
...
@@ -1360,27 +1396,28 @@ case $os in
...
@@ -1360,27 +1396,28 @@ case $os in
|
-hpux
*
|
-unos
*
|
-osf
*
|
-luna
*
|
-dgux
*
|
-auroraux
*
|
-solaris
*
\
|
-hpux
*
|
-unos
*
|
-osf
*
|
-luna
*
|
-dgux
*
|
-auroraux
*
|
-solaris
*
\
|
-sym
*
|
-kopensolaris
*
|
-plan9
*
\
|
-sym
*
|
-kopensolaris
*
|
-plan9
*
\
|
-amigaos
*
|
-amigados
*
|
-msdos
*
|
-newsos
*
|
-unicos
*
|
-aof
*
\
|
-amigaos
*
|
-amigados
*
|
-msdos
*
|
-newsos
*
|
-unicos
*
|
-aof
*
\
|
-aos
*
|
-aros
*
\
|
-aos
*
|
-aros
*
|
-cloudabi
*
|
-sortix
*
\
|
-nindy
*
|
-vxsim
*
|
-vxworks
*
|
-ebmon
*
|
-hms
*
|
-mvs
*
\
|
-nindy
*
|
-vxsim
*
|
-vxworks
*
|
-ebmon
*
|
-hms
*
|
-mvs
*
\
|
-clix
*
|
-riscos
*
|
-uniplus
*
|
-iris
*
|
-rtu
*
|
-xenix
*
\
|
-clix
*
|
-riscos
*
|
-uniplus
*
|
-iris
*
|
-rtu
*
|
-xenix
*
\
|
-hiux
*
|
-386bsd
*
|
-knetbsd
*
|
-mirbsd
*
|
-netbsd
*
\
|
-hiux
*
|
-386bsd
*
|
-knetbsd
*
|
-mirbsd
*
|
-netbsd
*
\
|
-bitrig
*
|
-openbsd
*
|
-solidbsd
*
\
|
-bitrig
*
|
-openbsd
*
|
-solidbsd
*
|
-libertybsd
*
\
|
-ekkobsd
*
|
-kfreebsd
*
|
-freebsd
*
|
-riscix
*
|
-lynxos
*
\
|
-ekkobsd
*
|
-kfreebsd
*
|
-freebsd
*
|
-riscix
*
|
-lynxos
*
\
|
-bosx
*
|
-nextstep
*
|
-cxux
*
|
-aout
*
|
-elf
*
|
-oabi
*
\
|
-bosx
*
|
-nextstep
*
|
-cxux
*
|
-aout
*
|
-elf
*
|
-oabi
*
\
|
-ptx
*
|
-coff
*
|
-ecoff
*
|
-winnt
*
|
-domain
*
|
-vsta
*
\
|
-ptx
*
|
-coff
*
|
-ecoff
*
|
-winnt
*
|
-domain
*
|
-vsta
*
\
|
-udi
*
|
-eabi
*
|
-lites
*
|
-ieee
*
|
-go32
*
|
-aux
*
\
|
-udi
*
|
-eabi
*
|
-lites
*
|
-ieee
*
|
-go32
*
|
-aux
*
\
|
-chorusos
*
|
-chorusrdb
*
|
-cegcc
*
\
|
-chorusos
*
|
-chorusrdb
*
|
-cegcc
*
|
-glidix
*
\
|
-cygwin
*
|
-msys
*
|
-pe
*
|
-psos
*
|
-moss
*
|
-proelf
*
|
-rtems
*
\
|
-cygwin
*
|
-msys
*
|
-pe
*
|
-psos
*
|
-moss
*
|
-proelf
*
|
-rtems
*
\
|
-mingw32
*
|
-mingw64
*
|
-linux-gnu
*
|
-linux-android
*
\
|
-mi
dipix
*
|
-mi
ngw32
*
|
-mingw64
*
|
-linux-gnu
*
|
-linux-android
*
\
|
-linux-newlib
*
|
-linux-musl
*
|
-linux-uclibc
*
\
|
-linux-newlib
*
|
-linux-musl
*
|
-linux-uclibc
*
\
|
-uxpv
*
|
-beos
*
|
-mpeix
*
|
-udk
*
\
|
-uxpv
*
|
-beos
*
|
-mpeix
*
|
-udk
*
|
-moxiebox
*
\
|
-interix
*
|
-uwin
*
|
-mks
*
|
-rhapsody
*
|
-darwin
*
|
-opened
*
\
|
-interix
*
|
-uwin
*
|
-mks
*
|
-rhapsody
*
|
-darwin
*
|
-opened
*
\
|
-openstep
*
|
-oskit
*
|
-conix
*
|
-pw32
*
|
-nonstopux
*
\
|
-openstep
*
|
-oskit
*
|
-conix
*
|
-pw32
*
|
-nonstopux
*
\
|
-storm-chaos
*
|
-tops10
*
|
-tenex
*
|
-tops20
*
|
-its
*
\
|
-storm-chaos
*
|
-tops10
*
|
-tenex
*
|
-tops20
*
|
-its
*
\
|
-os2
*
|
-vos
*
|
-palmos
*
|
-uclinux
*
|
-nucleus
*
\
|
-os2
*
|
-vos
*
|
-palmos
*
|
-uclinux
*
|
-nucleus
*
\
|
-morphos
*
|
-superux
*
|
-rtmk
*
|
-rtmk-nova
*
|
-windiss
*
\
|
-morphos
*
|
-superux
*
|
-rtmk
*
|
-rtmk-nova
*
|
-windiss
*
\
|
-powermax
*
|
-dnix
*
|
-nx6
|
-nx7
|
-sei
*
|
-dragonfly
*
\
|
-powermax
*
|
-dnix
*
|
-nx6
|
-nx7
|
-sei
*
|
-dragonfly
*
\
|
-skyos
*
|
-haiku
*
|
-rdos
*
|
-toppers
*
|
-drops
*
|
-es
*
|
-tirtos
*
)
|
-skyos
*
|
-haiku
*
|
-rdos
*
|
-toppers
*
|
-drops
*
|
-es
*
\
|
-onefs
*
|
-tirtos
*
|
-phoenix
*
|
-fuchsia
*
|
-redox
*
)
# Remember, each alternative MUST END IN *, to match a version number.
# Remember, each alternative MUST END IN *, to match a version number.
;;
;;
-qnx
*
)
-qnx
*
)
...
@@ -1512,6 +1549,8 @@ case $os in
...
@@ -1512,6 +1549,8 @@ case $os in
;;
;;
-nacl
*
)
-nacl
*
)
;;
;;
-ios
)
;;
-none
)
-none
)
;;
;;
*
)
*
)
...
@@ -1607,6 +1646,9 @@ case $basic_machine in
...
@@ -1607,6 +1646,9 @@ case $basic_machine in
sparc-
*
|
*
-sun
)
sparc-
*
|
*
-sun
)
os
=
-sunos4
.1.1
os
=
-sunos4
.1.1
;;
;;
pru-
*
)
os
=
-elf
;;
*
-be
)
*
-be
)
os
=
-beos
os
=
-beos
;;
;;
...
...
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