Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2843d4f8
Commit
2843d4f8
authored
Sep 30, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Oct 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools: Upgrade the config.guess/config.sub scripts.
parent
09dfda55
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
33 deletions
+72
-33
config.guess
tools/config.guess
+21
-10
config.sub
tools/config.sub
+51
-23
No files found.
tools/config.guess
View file @
2843d4f8
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
,
#
2011
Free Software Foundation, Inc.
timestamp
=
'201
0-09-24
'
timestamp
=
'201
1-10-01
'
# 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
...
...
@@ -57,7 +57,7 @@ GNU config.guess ($timestamp)
Originally written by Per Bothner.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
, 2011
Free
Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
...
...
@@ -270,7 +270,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
echo
${
UNAME_MACHINE
}
-dec-osf
`
echo
${
UNAME_RELEASE
}
|
sed
-e
's/^[PVTX]//'
|
tr
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
'abcdefghijklmnopqrstuvwxyz'
`
exit
;;
# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
exitcode
=
$?
trap
''
0
exit
$exitcode
;;
Alpha
\
*
:Windows_NT
*
:
*
)
# How do we know it's Interix rather than the generic POSIX subsystem?
# Should we change UNAME_MACHINE based on the output of uname instead
...
...
@@ -789,13 +792,12 @@ EOF
echo
${
UNAME_MACHINE
}
-unknown-bsdi
${
UNAME_RELEASE
}
exit
;;
*
:FreeBSD:
*
:
*
)
case
${
UNAME_MACHINE
}
in
pc98
)
echo
i386-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
;;
UNAME_PROCESSOR
=
`
/usr/bin/uname
-p
`
case
${
UNAME_PROCESSOR
}
in
amd64
)
echo
x86_64-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
;;
*
)
echo
${
UNAME_
MACHINE
}
-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
;;
echo
${
UNAME_
PROCESSOR
}
-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
;;
esac
exit
;;
i
*
:CYGWIN
*
:
*
)
...
...
@@ -879,7 +881,13 @@ EOF
then
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
else
if
echo
__ARM_PCS_VFP |
$CC_FOR_BUILD
-E
- 2>/dev/null
\
|
grep
-q
__ARM_PCS_VFP
then
echo
${
UNAME_MACHINE
}
-unknown-linux-gnueabi
else
echo
${
UNAME_MACHINE
}
-unknown-linux-gnueabihf
fi
fi
exit
;;
avr32
*
:Linux:
*
:
*
)
...
...
@@ -894,6 +902,9 @@ EOF
frv:Linux:
*
:
*
)
echo
frv-unknown-linux-gnu
exit
;;
hexagon:Linux:
*
:
*
)
echo
hexagon-unknown-linux-gnu
exit
;;
i
*
86:Linux:
*
:
*
)
LIBC
=
gnu
eval
$set_cc_for_build
...
...
@@ -969,7 +980,7 @@ EOF
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
exit
;;
tile
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-
tilera
-linux-gnu
echo
${
UNAME_MACHINE
}
-
unknown
-linux-gnu
exit
;;
vax:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-dec-linux-gnu
...
...
tools/config.sub
View file @
2843d4f8
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
,
#
2011
Free Software Foundation, Inc.
timestamp
=
'201
0-12-11
'
timestamp
=
'201
1-10-08
'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
...
...
@@ -76,7 +76,7 @@ version="\
GNU config.sub (
$timestamp
)
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
, 2011
Free
Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
...
...
@@ -251,13 +251,17 @@ case $basic_machine in
|
alpha64
|
alpha64ev[4-8]
|
alpha64ev56
|
alpha64ev6[78]
|
alpha64pca5[67]
\
|
am33_2.0
\
|
arc
|
arm
|
arm[bl]e
|
arme[lb]
|
armv[2345]
|
armv[345][lb]
|
avr
|
avr32
\
|
be32
|
be64
\
|
bfin
\
|
c4x
|
clipper
\
|
d10v
|
d30v
|
dlx
|
dsp16xx
\
|
epiphany
\
|
fido
|
fr30
|
frv
\
|
h8300
|
h8500
|
hppa
|
hppa1.[01]
|
hppa2.0
|
hppa2.0[nw]
|
hppa64
\
|
hexagon
\
|
i370
|
i860
|
i960
|
ia64
\
|
ip2k
|
iq2000
\
|
le32
|
le64
\
|
lm32
\
|
m32c
|
m32r
|
m32rle
|
m68000
|
m68k
|
m88k
\
|
maxq
|
mb
|
microblaze
|
mcore
|
mep
|
metag
\
...
...
@@ -286,9 +290,10 @@ case $basic_machine in
|
nds32
|
nds32le
|
nds32be
\
|
nios
|
nios2
\
|
ns16k
|
ns32k
\
|
open8
\
|
or32
\
|
pdp10
|
pdp11
|
pj
|
pjl
\
|
powerpc
|
powerpc64
|
powerpc64le
|
powerpcle
|
ppcbe
\
|
powerpc
|
powerpc64
|
powerpc64le
|
powerpcle
\
|
pyramid
\
|
rx
\
|
score
\
...
...
@@ -296,12 +301,12 @@ case $basic_machine in
|
sh64
|
sh64le
\
|
sparc
|
sparc64
|
sparc64b
|
sparc64v
|
sparc86x
|
sparclet
|
sparclite
\
|
sparcv8
|
sparcv9
|
sparcv9b
|
sparcv9v
\
|
spu
|
strongarm
\
|
tahoe
|
t
humb
|
t
ic4x
|
tic54x
|
tic55x
|
tic6x
|
tic80
|
tron
\
|
spu
\
|
tahoe
|
tic4x
|
tic54x
|
tic55x
|
tic6x
|
tic80
|
tron
\
|
ubicom32
\
|
v850
|
v850e
\
|
v850
|
v850e
|
v850e1
|
v850e2
|
v850es
|
v850e2v3
\
|
we32k
\
|
x86
|
xc16x
|
xs
cale
|
xscalee[bl]
|
xs
tormy16
|
xtensa
\
|
x86
|
xc16x
|
xstormy16
|
xtensa
\
|
z8k
|
z80
)
basic_machine
=
$basic_machine
-unknown
;;
...
...
@@ -325,6 +330,18 @@ case $basic_machine in
basic_machine
=
mt-unknown
;;
strongarm
|
thumb
|
xscale
)
basic_machine
=
arm-unknown
;;
xscaleeb
)
basic_machine
=
armeb-unknown
;;
xscaleel
)
basic_machine
=
armel-unknown
;;
# We use `pc' rather than `unknown'
# because (1) that's what they normally are, and
# (2) the word "unknown" tends to confuse beginning users.
...
...
@@ -344,6 +361,7 @@ case $basic_machine in
|
alphapca5[67]-
*
|
alpha64pca5[67]-
*
|
arc-
*
\
|
arm-
*
|
armbe-
*
|
armle-
*
|
armeb-
*
|
armv
*
-
*
\
|
avr-
*
|
avr32-
*
\
|
be32-
*
|
be64-
*
\
|
bfin-
*
|
bs2000-
*
\
|
c[123]
*
|
c30-
*
|
[
cjt]90-
*
|
c4x-
*
\
|
clipper-
*
|
craynv-
*
|
cydra-
*
\
...
...
@@ -352,8 +370,10 @@ case $basic_machine in
|
f30[01]-
*
|
f700-
*
|
fido-
*
|
fr30-
*
|
frv-
*
|
fx80-
*
\
|
h8300-
*
|
h8500-
*
\
|
hppa-
*
|
hppa1.[01]-
*
|
hppa2.0-
*
|
hppa2.0[nw]-
*
|
hppa64-
*
\
|
hexagon-
*
\
|
i
*
86-
*
|
i860-
*
|
i960-
*
|
ia64-
*
\
|
ip2k-
*
|
iq2000-
*
\
|
le32-
*
|
le64-
*
\
|
lm32-
*
\
|
m32c-
*
|
m32r-
*
|
m32rle-
*
\
|
m68000-
*
|
m680[012346]0-
*
|
m68360-
*
|
m683?2-
*
|
m68k-
*
\
...
...
@@ -382,24 +402,26 @@ case $basic_machine in
|
nds32-
*
|
nds32le-
*
|
nds32be-
*
\
|
nios-
*
|
nios2-
*
\
|
none-
*
|
np1-
*
|
ns16k-
*
|
ns32k-
*
\
|
open8-
*
\
|
orion-
*
\
|
pdp10-
*
|
pdp11-
*
|
pj-
*
|
pjl-
*
|
pn-
*
|
power-
*
\
|
powerpc-
*
|
powerpc64-
*
|
powerpc64le-
*
|
powerpcle-
*
|
ppcbe-
*
\
|
powerpc-
*
|
powerpc64-
*
|
powerpc64le-
*
|
powerpcle-
*
\
|
pyramid-
*
\
|
romp-
*
|
rs6000-
*
|
rx-
*
\
|
sh-
*
|
sh[1234]-
*
|
sh[24]a-
*
|
sh[24]aeb-
*
|
sh[23]e-
*
|
sh[34]eb-
*
|
sheb-
*
|
shbe-
*
\
|
shle-
*
|
sh[1234]le-
*
|
sh3ele-
*
|
sh64-
*
|
sh64le-
*
\
|
sparc-
*
|
sparc64-
*
|
sparc64b-
*
|
sparc64v-
*
|
sparc86x-
*
|
sparclet-
*
\
|
sparclite-
*
\
|
sparcv8-
*
|
sparcv9-
*
|
sparcv9b-
*
|
sparcv9v-
*
|
s
trongarm-
*
|
s
v1-
*
|
sx?-
*
\
|
tahoe-
*
|
thumb-
*
\
|
sparcv8-
*
|
sparcv9-
*
|
sparcv9b-
*
|
sparcv9v-
*
|
sv1-
*
|
sx?-
*
\
|
tahoe-
*
\
|
tic30-
*
|
tic4x-
*
|
tic54x-
*
|
tic55x-
*
|
tic6x-
*
|
tic80-
*
\
|
tile
-
*
|
tilegx
-
*
\
|
tile
*
-
*
\
|
tron-
*
\
|
ubicom32-
*
\
|
v850-
*
|
v850e-
*
|
vax-
*
\
|
v850-
*
|
v850e-
*
|
v850e1-
*
|
v850es-
*
|
v850e2-
*
|
v850e2v3-
*
\
|
vax-
*
\
|
we32k-
*
\
|
x86-
*
|
x86_64-
*
|
xc16x-
*
|
xps100-
*
|
xscale-
*
|
xscalee[bl]-
*
\
|
x86-
*
|
x86_64-
*
|
xc16x-
*
|
xps100-
*
\
|
xstormy16-
*
|
xtensa
*
-
*
\
|
ymp-
*
\
|
z8k-
*
|
z80-
*
)
...
...
@@ -798,6 +820,10 @@ case $basic_machine in
basic_machine
=
i370-ibm
os
=
-mvs
;;
nacl
)
basic_machine
=
le32-unknown
os
=
-nacl
;;
ncr3000
)
basic_machine
=
i486-ncr
os
=
-sysv4
...
...
@@ -950,9 +976,10 @@ case $basic_machine in
;;
power
)
basic_machine
=
power-ibm
;;
ppc
)
basic_machine
=
powerpc-unknown
ppc
|
ppcbe
)
basic_machine
=
powerpc-unknown
;;
ppc-
*
)
basic_machine
=
powerpc-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
ppc-
*
|
ppcbe-
*
)
basic_machine
=
powerpc-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
;;
ppcle
|
powerpclittle
|
ppc-le
|
powerpc-little
)
basic_machine
=
powerpcle-unknown
...
...
@@ -1046,6 +1073,9 @@ case $basic_machine in
basic_machine
=
i860-stratus
os
=
-sysv4
;;
strongarm-
*
|
thumb-
*
)
basic_machine
=
arm-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
;;
sun2
)
basic_machine
=
m68000-sun
;;
...
...
@@ -1102,13 +1132,8 @@ case $basic_machine in
basic_machine
=
t90-cray
os
=
-unicos
;;
# This must be matched before tile*.
tilegx
*
)
basic_machine
=
tilegx-unknown
os
=
-linux-gnu
;;
tile
*
)
basic_machine
=
til
e-unknown
basic_machine
=
$basic_machin
e
-unknown
os
=
-linux-gnu
;;
tx39
)
...
...
@@ -1178,6 +1203,9 @@ case $basic_machine in
xps
|
xps100
)
basic_machine
=
xps100-honeywell
;;
xscale-
*
|
xscalee[bl]-
*
)
basic_machine
=
`
echo
$basic_machine
|
sed
's/^xscale/arm/'
`
;;
ymp
)
basic_machine
=
ymp-cray
os
=
-unicos
...
...
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