Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a12246ad
Commit
a12246ad
authored
Feb 23, 2007
by
Dan Nicolaescu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated from master source.
parent
5339f50c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
97 additions
and
39 deletions
+97
-39
ChangeLog
ChangeLog
+4
-0
config.guess
config.guess
+48
-11
config.sub
config.sub
+45
-28
No files found.
ChangeLog
View file @
a12246ad
2007-02-22 Dan Nicolaescu <dann@ics.uci.edu>
* config.guess, config.sub: Updated from master source.
2007-01-31 Sascha Wilde <wilde@sha-bang.de> (tiny change)
* configure.in (PKG_CHECK_MODULES): Change ///* to / in cflags and libs.
...
...
config.guess
View file @
a12246ad
#! /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 Free Software Foundation, Inc.
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation,
# Inc.
timestamp
=
'200
6
-0
4-20
'
timestamp
=
'200
7
-0
1-15
'
# 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
...
...
@@ -106,7 +107,7 @@ set_cc_for_build='
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
: ${TMPDIR=/tmp} ;
{ tmp=`(umask 077 && mktemp -d
-q
"$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
{ tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
...
...
@@ -160,6 +161,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
arm
*
)
machine
=
arm-unknown
;;
sh3el
)
machine
=
shl-unknown
;;
sh3eb
)
machine
=
sh-unknown
;;
sh5el
)
machine
=
sh5le-unknown
;;
*
)
machine
=
${
UNAME_MACHINE_ARCH
}
-unknown
;;
esac
# The Operating System including object format, if it has switched
...
...
@@ -206,8 +208,11 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*
:ekkoBSD:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-ekkobsd
${
UNAME_RELEASE
}
exit
;;
*
:SolidBSD:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-solidbsd
${
UNAME_RELEASE
}
exit
;;
macppc:MirBSD:
*
:
*
)
echo
powerp
p
c-unknown-mirbsd
${
UNAME_RELEASE
}
echo
powerpc-unknown-mirbsd
${
UNAME_RELEASE
}
exit
;;
*
:MirBSD:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-mirbsd
${
UNAME_RELEASE
}
...
...
@@ -767,6 +772,8 @@ EOF
case
${
UNAME_MACHINE
}
in
pc98
)
echo
i386-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
;;
amd64
)
echo
x86_64-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
;;
*
)
echo
${
UNAME_MACHINE
}
-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
;;
esac
...
...
@@ -774,7 +781,7 @@ EOF
i
*
:CYGWIN
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-cygwin
exit
;;
i
*
:MINGW
*
:
*
)
*
:MINGW
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-mingw32
exit
;;
i
*
:windows32
*
:
*
)
...
...
@@ -784,8 +791,11 @@ EOF
i
*
:PW
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-pw32
exit
;;
x86:Interix
*
:[345]
*
)
echo
i586-pc-interix
${
UNAME_RELEASE
}
|sed
-e
's/\..*//'
x86:Interix
*
:[3456]
*
)
echo
i586-pc-interix
${
UNAME_RELEASE
}
exit
;;
EM64T:Interix
*
:[3456]
*
|
authenticamd:Interix
*
:[3456]
*
)
echo
x86_64-unknown-interix
${
UNAME_RELEASE
}
exit
;;
[
345]86:Windows_95:
*
|
[
345]86:Windows_98:
*
|
[
345]86:Windows_NT:
*
)
echo
i
${
UNAME_MACHINE
}
-pc-mks
...
...
@@ -822,6 +832,9 @@ EOF
arm
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
exit
;;
avr32
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
exit
;;
cris:Linux:
*
:
*
)
echo
cris-axis-linux-gnu
exit
;;
...
...
@@ -856,7 +869,11 @@ EOF
#endif
#endif
EOF
eval
"
`
$CC_FOR_BUILD
-E
$dummy
.c 2>/dev/null |
sed
-n
'/^CPU/{s: ::g;p;}'
`
"
eval
"
`
$CC_FOR_BUILD
-E
$dummy
.c 2>/dev/null |
sed
-n
'
/^CPU/{
s: ::g
p
}'
`
"
test
x
"
${
CPU
}
"
!=
x
&&
{
echo
"
${
CPU
}
-unknown-linux-gnu"
;
exit
;
}
;;
mips64:Linux:
*
:
*
)
...
...
@@ -875,7 +892,11 @@ EOF
#endif
#endif
EOF
eval
"
`
$CC_FOR_BUILD
-E
$dummy
.c 2>/dev/null |
sed
-n
'/^CPU/{s: ::g;p;}'
`
"
eval
"
`
$CC_FOR_BUILD
-E
$dummy
.c 2>/dev/null |
sed
-n
'
/^CPU/{
s: ::g
p
}'
`
"
test
x
"
${
CPU
}
"
!=
x
&&
{
echo
"
${
CPU
}
-unknown-linux-gnu"
;
exit
;
}
;;
or32:Linux:
*
:
*
)
...
...
@@ -930,6 +951,9 @@ EOF
x86_64:Linux:
*
:
*
)
echo
x86_64-unknown-linux-gnu
exit
;;
xtensa:Linux:
*
:
*
)
echo
xtensa-unknown-linux-gnu
exit
;;
i
*
86:Linux:
*
:
*
)
# The BFD linker knows what the default object file format is, so
# first see if it will tell us. cd to the root directory to prevent
...
...
@@ -972,7 +996,7 @@ EOF
LIBC=gnulibc1
# endif
#else
#if defined(__INTEL_COMPILER) || defined(__PGI)
#if defined(__INTEL_COMPILER) || defined(__PGI)
|| defined(__SUNPRO_C) || defined(__SUNPRO_CC)
LIBC=gnu
#else
LIBC=gnuaout
...
...
@@ -982,7 +1006,11 @@ EOF
LIBC=dietlibc
#endif
EOF
eval
"
`
$CC_FOR_BUILD
-E
$dummy
.c 2>/dev/null |
sed
-n
'/^LIBC/{s: ::g;p;}'
`
"
eval
"
`
$CC_FOR_BUILD
-E
$dummy
.c 2>/dev/null |
sed
-n
'
/^LIBC/{
s: ::g
p
}'
`
"
test
x
"
${
LIBC
}
"
!=
x
&&
{
echo
"
${
UNAME_MACHINE
}
-pc-linux-
${
LIBC
}
"
exit
...
...
@@ -1184,6 +1212,15 @@ EOF
SX-6:SUPER-UX:
*
:
*
)
echo
sx6-nec-superux
${
UNAME_RELEASE
}
exit
;;
SX-7:SUPER-UX:
*
:
*
)
echo
sx7-nec-superux
${
UNAME_RELEASE
}
exit
;;
SX-8:SUPER-UX:
*
:
*
)
echo
sx8-nec-superux
${
UNAME_RELEASE
}
exit
;;
SX-8R:SUPER-UX:
*
:
*
)
echo
sx8r-nec-superux
${
UNAME_RELEASE
}
exit
;;
Power
*
:Rhapsody:
*
:
*
)
echo
powerpc-apple-rhapsody
${
UNAME_RELEASE
}
exit
;;
...
...
config.sub
View file @
a12246ad
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation,
# Inc.
timestamp
=
'200
6
-0
4-20
'
timestamp
=
'200
7
-0
1-18
'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
...
...
@@ -240,15 +241,16 @@ case $basic_machine in
|
alpha
|
alphaev[4-8]
|
alphaev56
|
alphaev6[78]
|
alphapca5[67]
\
|
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
\
|
arc
|
arm
|
arm[bl]e
|
arme[lb]
|
armv[2345]
|
armv[345][lb]
|
avr
|
avr32
\
|
bfin
\
|
c4x
|
clipper
\
|
d10v
|
d30v
|
dlx
|
dsp16xx
\
|
fr30
|
frv
\
|
fido
|
fr30
|
frv
\
|
h8300
|
h8500
|
hppa
|
hppa1.[01]
|
hppa2.0
|
hppa2.0[nw]
|
hppa64
\
|
i370
|
i860
|
i960
|
ia64
\
|
ip2k
|
iq2000
\
|
m32r
|
m32rle
|
m68000
|
m68k
|
m88k
|
maxq
|
mb
|
microblaze
|
mcore
\
|
m32c
|
m32r
|
m32rle
|
m68000
|
m68k
|
m88k
\
|
maxq
|
mb
|
microblaze
|
mcore
|
mep
\
|
mips
|
mipsbe
|
mipseb
|
mipsel
|
mipsle
\
|
mips16
\
|
mips64
|
mips64el
\
...
...
@@ -268,26 +270,25 @@ case $basic_machine in
|
mn10200
|
mn10300
\
|
mt
\
|
msp430
\
|
nios
|
nios2
\
|
ns16k
|
ns32k
\
|
or32
\
|
pdp10
|
pdp11
|
pj
|
pjl
\
|
powerpc
|
powerpc64
|
powerpc64le
|
powerpcle
|
ppcbe
\
|
pyramid
\
|
sh
|
sh[1234]
|
sh[24]a
|
sh[23]e
|
sh[34]eb
|
shbe
|
shle
|
sh[1234]le
|
sh3ele
\
|
score
\
|
sh
|
sh[1234]
|
sh[24]a
|
sh[23]e
|
sh[34]eb
|
sheb
|
shbe
|
shle
|
sh[1234]le
|
sh3ele
\
|
sh64
|
sh64le
\
|
sparc
|
sparc64
|
sparc64b
|
sparc86x
|
sparclet
|
sparclite
\
|
sparcv8
|
sparcv9
|
sparcv9b
\
|
strongarm
\
|
sparc
|
sparc64
|
sparc64b
|
sparc64v
|
sparc86x
|
sparclet
|
sparclite
\
|
sparcv8
|
sparcv9
|
sparcv9b
|
sparcv9v
\
|
spu
|
strongarm
\
|
tahoe
|
thumb
|
tic4x
|
tic80
|
tron
\
|
v850
|
v850e
\
|
we32k
\
|
x86
|
xscale
|
xscalee[bl]
|
xstormy16
|
xtensa
\
|
x86
|
xc16x
|
xscale
|
xscalee[bl]
|
xstormy16
|
xtensa
\
|
z8k
)
basic_machine
=
$basic_machine
-unknown
;;
m32c
)
basic_machine
=
$basic_machine
-unknown
;;
m6811
|
m68hc11
|
m6812
|
m68hc12
)
# Motorola 68HC11/12.
basic_machine
=
$basic_machine
-unknown
...
...
@@ -317,18 +318,18 @@ case $basic_machine in
|
alpha64-
*
|
alpha64ev[4-8]-
*
|
alpha64ev56-
*
|
alpha64ev6[78]-
*
\
|
alphapca5[67]-
*
|
alpha64pca5[67]-
*
|
arc-
*
\
|
arm-
*
|
armbe-
*
|
armle-
*
|
armeb-
*
|
armv
*
-
*
\
|
avr-
*
\
|
avr-
*
|
avr32-
*
\
|
bfin-
*
|
bs2000-
*
\
|
c[123]
*
|
c30-
*
|
[
cjt]90-
*
|
c4x-
*
|
c54x-
*
|
c55x-
*
|
c6x-
*
\
|
clipper-
*
|
craynv-
*
|
cydra-
*
\
|
d10v-
*
|
d30v-
*
|
dlx-
*
\
|
elxsi-
*
\
|
f30[01]-
*
|
f700-
*
|
fr30-
*
|
frv-
*
|
fx80-
*
\
|
f30[01]-
*
|
f700-
*
|
fido-
*
|
fr30-
*
|
frv-
*
|
fx80-
*
\
|
h8300-
*
|
h8500-
*
\
|
hppa-
*
|
hppa1.[01]-
*
|
hppa2.0-
*
|
hppa2.0[nw]-
*
|
hppa64-
*
\
|
i
*
86-
*
|
i860-
*
|
i960-
*
|
ia64-
*
\
|
ip2k-
*
|
iq2000-
*
\
|
m32r-
*
|
m32rle-
*
\
|
m32c-
*
|
m32r-
*
|
m32rle-
*
\
|
m68000-
*
|
m680[012346]0-
*
|
m68360-
*
|
m683?2-
*
|
m68k-
*
\
|
m88110-
*
|
m88k-
*
|
maxq-
*
|
mcore-
*
\
|
mips-
*
|
mipsbe-
*
|
mipseb-
*
|
mipsel-
*
|
mipsle-
*
\
...
...
@@ -350,29 +351,28 @@ case $basic_machine in
|
mmix-
*
\
|
mt-
*
\
|
msp430-
*
\
|
nios-
*
|
nios2-
*
\
|
none-
*
|
np1-
*
|
ns16k-
*
|
ns32k-
*
\
|
orion-
*
\
|
pdp10-
*
|
pdp11-
*
|
pj-
*
|
pjl-
*
|
pn-
*
|
power-
*
\
|
powerpc-
*
|
powerpc64-
*
|
powerpc64le-
*
|
powerpcle-
*
|
ppcbe-
*
\
|
pyramid-
*
\
|
romp-
*
|
rs6000-
*
\
|
sh-
*
|
sh[1234]-
*
|
sh[24]a-
*
|
sh[23]e-
*
|
sh[34]eb-
*
|
shbe-
*
\
|
sh-
*
|
sh[1234]-
*
|
sh[24]a-
*
|
sh[23]e-
*
|
sh[34]eb-
*
|
sheb-
*
|
shbe-
*
\
|
shle-
*
|
sh[1234]le-
*
|
sh3ele-
*
|
sh64-
*
|
sh64le-
*
\
|
sparc-
*
|
sparc64-
*
|
sparc64b-
*
|
sparc86x-
*
|
sparclet-
*
\
|
sparc-
*
|
sparc64-
*
|
sparc64b-
*
|
sparc64v-
*
|
sparc86x-
*
|
sparclet-
*
\
|
sparclite-
*
\
|
sparcv8-
*
|
sparcv9-
*
|
sparcv9b-
*
|
strongarm-
*
|
sv1-
*
|
sx?-
*
\
|
sparcv8-
*
|
sparcv9-
*
|
sparcv9b-
*
|
sparcv9v-
*
|
strongarm-
*
|
sv1-
*
|
sx?-
*
\
|
tahoe-
*
|
thumb-
*
\
|
tic30-
*
|
tic4x-
*
|
tic54x-
*
|
tic55x-
*
|
tic6x-
*
|
tic80-
*
\
|
tron-
*
\
|
v850-
*
|
v850e-
*
|
vax-
*
\
|
we32k-
*
\
|
x86-
*
|
x86_64-
*
|
xps100-
*
|
xscale-
*
|
xscalee[bl]-
*
\
|
x86-
*
|
x86_64-
*
|
xc16x-
*
|
xps100-
*
|
xscale-
*
|
xscalee[bl]-
*
\
|
xstormy16-
*
|
xtensa-
*
\
|
ymp-
*
\
|
z8k-
*
)
;;
m32c-
*
)
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
386bsd
)
...
...
@@ -910,6 +910,10 @@ case $basic_machine in
sb1el
)
basic_machine
=
mipsisa64sb1el-unknown
;;
sde
)
basic_machine
=
mipsisa32-sde
os
=
-elf
;;
sei
)
basic_machine
=
mips-sei
os
=
-seiux
...
...
@@ -921,6 +925,9 @@ case $basic_machine in
basic_machine
=
sh-hitachi
os
=
-hms
;;
sh5el
)
basic_machine
=
sh5le-unknown
;;
sh64
)
basic_machine
=
sh64-unknown
;;
...
...
@@ -1126,7 +1133,7 @@ case $basic_machine in
sh[1234]
|
sh[24]a
|
sh[34]eb
|
sh[1234]le
|
sh[23]ele
)
basic_machine
=
sh-unknown
;;
sparc
|
sparcv8
|
sparcv9
|
sparcv9b
)
sparc
|
sparcv8
|
sparcv9
|
sparcv9b
|
sparcv9v
)
basic_machine
=
sparc-sun
;;
cydra
)
...
...
@@ -1199,7 +1206,8 @@ case $os in
|
-aos
*
\
|
-nindy
*
|
-vxsim
*
|
-vxworks
*
|
-ebmon
*
|
-hms
*
|
-mvs
*
\
|
-clix
*
|
-riscos
*
|
-uniplus
*
|
-iris
*
|
-rtu
*
|
-xenix
*
\
|
-hiux
*
|
-386bsd
*
|
-knetbsd
*
|
-mirbsd
*
|
-netbsd
*
|
-openbsd
*
\
|
-hiux
*
|
-386bsd
*
|
-knetbsd
*
|
-mirbsd
*
|
-netbsd
*
\
|
-openbsd
*
|
-solidbsd
*
\
|
-ekkobsd
*
|
-kfreebsd
*
|
-freebsd
*
|
-riscix
*
|
-lynxos
*
\
|
-bosx
*
|
-nextstep
*
|
-cxux
*
|
-aout
*
|
-elf
*
|
-oabi
*
\
|
-ptx
*
|
-coff
*
|
-ecoff
*
|
-winnt
*
|
-domain
*
|
-vsta
*
\
...
...
@@ -1214,7 +1222,7 @@ case $os in
|
-os2
*
|
-vos
*
|
-palmos
*
|
-uclinux
*
|
-nucleus
*
\
|
-morphos
*
|
-superux
*
|
-rtmk
*
|
-rtmk-nova
*
|
-windiss
*
\
|
-powermax
*
|
-dnix
*
|
-nx6
|
-nx7
|
-sei
*
|
-dragonfly
*
\
|
-skyos
*
|
-haiku
*
|
-rdos
*
)
|
-skyos
*
|
-haiku
*
|
-rdos
*
|
-toppers
*
|
-drops
*
)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx
*
)
...
...
@@ -1366,6 +1374,12 @@ else
# system, and we'll never get to this point.
case
$basic_machine
in
score-
*
)
os
=
-elf
;;
spu-
*
)
os
=
-elf
;;
*
-acorn
)
os
=
-riscix1
.2
;;
...
...
@@ -1375,9 +1389,9 @@ case $basic_machine in
arm
*
-semi
)
os
=
-aout
;;
c4x-
*
|
tic4x-
*
)
os
=
-coff
;;
c4x-
*
|
tic4x-
*
)
os
=
-coff
;;
# This must come before the *-dec entry.
pdp10-
*
)
os
=
-tops20
...
...
@@ -1403,6 +1417,9 @@ case $basic_machine in
m68
*
-cisco
)
os
=
-aout
;;
mep-
*
)
os
=
-elf
;;
mips
*
-cisco
)
os
=
-elf
;;
...
...
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