mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-22 06:49:19 +08:00
config.guess: Add hppa64-linux support.
* config.guess: Add hppa64-linux support. Note for next import that this is already in the master file. * configure.in: Likewise. Accept `parisc' alias for `hppa'. From-SVN: r41327
This commit is contained in:
parent
8d913d9996
commit
cdbff0ab8c
@ -1,3 +1,9 @@
|
|||||||
|
2001-04-13 Alan Modra <amodra@one.net.au>
|
||||||
|
|
||||||
|
* config.guess: Add hppa64-linux support. Note for next import that
|
||||||
|
this is already in the master file.
|
||||||
|
* configure.in: Likewise. Accept `parisc' alias for `hppa'.
|
||||||
|
|
||||||
2001-04-12 Alexandre Oliva <aoliva@redhat.com>
|
2001-04-12 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
|
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
|
||||||
|
16
config.guess
vendored
16
config.guess
vendored
@ -861,6 +861,22 @@ EOF
|
|||||||
echo s390x-ibm-linux && exit 0
|
echo s390x-ibm-linux && exit 0
|
||||||
elif test "${UNAME_MACHINE}" = "x86_64"; then
|
elif test "${UNAME_MACHINE}" = "x86_64"; then
|
||||||
echo x86_64-unknown-linux-gnu && exit 0
|
echo x86_64-unknown-linux-gnu && exit 0
|
||||||
|
elif test "${UNAME_MACHINE}" = "parisc64" -o "${UNAME_MACHINE}" = "hppa64"; then
|
||||||
|
echo hppa64-unknown-linux-gnu && exit 0
|
||||||
|
elif test "${UNAME_MACHINE}" = "parisc" -o "${UNAME_MACHINE}" = "hppa"; then
|
||||||
|
# Look for CPU level
|
||||||
|
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
||||||
|
PA7*)
|
||||||
|
echo hppa1.1-unknown-linux-gnu
|
||||||
|
;;
|
||||||
|
PA8*)
|
||||||
|
echo hppa2.0-unknown-linux-gnu
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo hppa-unknown-linux-gnu
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
||||||
else
|
else
|
||||||
# Either a pre-BFD a.out linker (linux-gnuoldld)
|
# Either a pre-BFD a.out linker (linux-gnuoldld)
|
||||||
# or one that does not give us useful --help.
|
# or one that does not give us useful --help.
|
||||||
|
12
configure.in
12
configure.in
@ -304,7 +304,7 @@ if [ x${shared} = xyes ]; then
|
|||||||
arm*-*-*)
|
arm*-*-*)
|
||||||
host_makefile_frag="${host_makefile_frag} config/mh-armpic"
|
host_makefile_frag="${host_makefile_frag} config/mh-armpic"
|
||||||
;;
|
;;
|
||||||
hppa*-*-*)
|
parisc*-*-* | hppa*-*-*)
|
||||||
host_makefile_frag="${host_makefile_frag} config/mh-papic"
|
host_makefile_frag="${host_makefile_frag} config/mh-papic"
|
||||||
;;
|
;;
|
||||||
i[3456]86-*-cygwin*)
|
i[3456]86-*-cygwin*)
|
||||||
@ -714,8 +714,14 @@ case "${target}" in
|
|||||||
h8500-*-*)
|
h8500-*-*)
|
||||||
noconfigdirs="$noconfigdirs ${libstdcxx_version} target-librx target-libgloss ${libgcj}"
|
noconfigdirs="$noconfigdirs ${libstdcxx_version} target-librx target-libgloss ${libgcj}"
|
||||||
;;
|
;;
|
||||||
|
hppa*64*-*-linux* | parisc*64*-*-linux*)
|
||||||
|
# In this case, it's because the hppa64-linux target is for
|
||||||
|
# the kernel only at this point and has no libc, and thus no
|
||||||
|
# headers, crt*.o, etc., all of which are needed by these.
|
||||||
|
noconfigdirs="$noconfigdirs target-zlib"
|
||||||
|
;;
|
||||||
hppa*-*-*elf* | \
|
hppa*-*-*elf* | \
|
||||||
hppa*-*-linux* | \
|
parisc*-*-linux* | hppa*-*-linux* | \
|
||||||
hppa*-*-lites* | \
|
hppa*-*-lites* | \
|
||||||
hppa*64*-*-*)
|
hppa*64*-*-*)
|
||||||
noconfigdirs="${libgcj}"
|
noconfigdirs="${libgcj}"
|
||||||
@ -1193,7 +1199,7 @@ fi
|
|||||||
|
|
||||||
if [ x${shared} = xyes ]; then
|
if [ x${shared} = xyes ]; then
|
||||||
case "${target}" in
|
case "${target}" in
|
||||||
hppa*)
|
hppa* | parisc*)
|
||||||
target_makefile_frag="${target_makefile_frag} config/mt-papic"
|
target_makefile_frag="${target_makefile_frag} config/mt-papic"
|
||||||
;;
|
;;
|
||||||
i[3456]86-*)
|
i[3456]86-*)
|
||||||
|
Loading…
Reference in New Issue
Block a user