Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
e03dd84a
Commit
e03dd84a
authored
Dec 02, 2008
by
Ben Elliston
Committed by
Ben Elliston
Dec 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config.sub, config.guess: Update from upstream sources.
From-SVN: r142343
parent
34cbb428
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
7 deletions
+35
-7
ChangeLog
+4
-0
config.guess
+19
-3
config.sub
+12
-4
No files found.
ChangeLog
View file @
e03dd84a
2008-12-02 Ben Elliston <bje@au.ibm.com>
* config.sub, config.guess: Update from upstream sources.
2008-12-01 Gerald Pfeifer <gerald@pfeifer.com>
* README.SCO: Remove.
...
...
config.guess
View file @
e03dd84a
...
...
@@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.
timestamp
=
'2008-
04-14
'
timestamp
=
'2008-
11-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
...
...
@@ -331,7 +331,20 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
echo
sparc-sun-solaris2
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*//'
`
exit
;;
i86pc:SunOS:5.
*
:
*
|
i86xen:SunOS:5.
*
:
*
)
echo
i386-pc-solaris2
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*//'
`
eval
$set_cc_for_build
SUN_ARCH
=
"i386"
# 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.
# This test works for both compilers.
if
[
"
$CC_FOR_BUILD
"
!=
'no_compiler_found'
]
;
then
if
echo
'\n#ifdef __amd64\nIS_64BIT_ARCH\n#endif'
|
\
(
CCOPTS
=
$CC_FOR_BUILD
-E
- 2>/dev/null
)
|
\
grep
IS_64BIT_ARCH
>
/dev/null
then
SUN_ARCH
=
"x86_64"
fi
fi
echo
${
SUN_ARCH
}
-pc-solaris2
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*//'
`
exit
;;
sun4
*
:SunOS:6
*
:
*
)
# According to config.sub, this is the proper way to canonicalize
...
...
@@ -796,7 +809,7 @@ EOF
x86
)
echo
i586-pc-interix
${
UNAME_RELEASE
}
exit
;;
EM64T
|
authenticamd
)
EM64T
|
authenticamd
|
genuineintel
)
echo
x86_64-unknown-interix
${
UNAME_RELEASE
}
exit
;;
IA64
)
...
...
@@ -935,6 +948,9 @@ EOF
if
test
"
$?
"
=
0
;
then
LIBC
=
"libc1"
;
else
LIBC
=
""
;
fi
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
${
LIBC
}
exit
;;
padre:Linux:
*
:
*
)
echo
sparc-unknown-linux-gnu
exit
;;
parisc:Linux:
*
:
*
|
hppa:Linux:
*
:
*
)
# Look for CPU level
case
`
grep
'^cpu[^a-z]*:'
/proc/cpuinfo 2>/dev/null | cut
-d
' '
-f2
`
in
...
...
config.sub
View file @
e03dd84a
...
...
@@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.
timestamp
=
'2008-0
4-14
'
timestamp
=
'2008-0
9-08
'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
...
...
@@ -288,7 +288,7 @@ case $basic_machine in
|
v850
|
v850e
\
|
we32k
\
|
x86
|
xc16x
|
xscale
|
xscalee[bl]
|
xstormy16
|
xtensa
\
|
z8k
)
|
z8k
|
z80
)
basic_machine
=
$basic_machine
-unknown
;;
m6811
|
m68hc11
|
m6812
|
m68hc12
)
...
...
@@ -375,7 +375,7 @@ case $basic_machine in
|
x86-
*
|
x86_64-
*
|
xc16x-
*
|
xps100-
*
|
xscale-
*
|
xscalee[bl]-
*
\
|
xstormy16-
*
|
xtensa
*
-
*
\
|
ymp-
*
\
|
z8k-
*
)
|
z8k-
*
|
z80-
*
)
;;
# Recognize the basic CPU types without company name, with glob match.
xtensa
*
)
...
...
@@ -463,6 +463,10 @@ case $basic_machine in
basic_machine
=
c90-cray
os
=
-unicos
;;
cegcc
)
basic_machine
=
arm-unknown
os
=
-cegcc
;;
convex-c1
)
basic_machine
=
c1-convex
os
=
-bsd
...
...
@@ -1136,6 +1140,10 @@ case $basic_machine in
basic_machine
=
z8k-unknown
os
=
-sim
;;
z80-
*
-coff
)
basic_machine
=
z80-unknown
os
=
-sim
;;
none
)
basic_machine
=
none-none
os
=
-none
...
...
@@ -1256,7 +1264,7 @@ case $os in
|
-bosx
*
|
-nextstep
*
|
-cxux
*
|
-aout
*
|
-elf
*
|
-oabi
*
\
|
-ptx
*
|
-coff
*
|
-ecoff
*
|
-winnt
*
|
-domain
*
|
-vsta
*
\
|
-udi
*
|
-eabi
*
|
-lites
*
|
-ieee
*
|
-go32
*
|
-aux
*
\
|
-chorusos
*
|
-chorusrdb
*
\
|
-chorusos
*
|
-chorusrdb
*
|
-cegcc
*
\
|
-cygwin
*
|
-pe
*
|
-psos
*
|
-moss
*
|
-proelf
*
|
-rtems
*
\
|
-mingw32
*
|
-linux-gnu
*
|
-linux-newlib
*
|
-linux-uclibc
*
\
|
-uxpv
*
|
-beos
*
|
-mpeix
*
|
-udk
*
\
...
...
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