From: "Lassi A. Tuura" <Lassi.Tuura@cern.ch>
To: egcs@cygnus.com
Subject: config.guess/config.sub improvements
Date: Thu, 13 Nov 1997 05:17:00 -0000 [thread overview]
Message-ID: <346AFDB7.D60D992B@cern.ch> (raw)
[-- I already sent this to gcc2@cygnus.com, but then came to think
that perhaps I should send it to this list, too. Is that true
in general, or is it sufficient to send small patches like this
to gcc2 only? --]
Here is a patch for config.guess (from gcc-2.7.2.3) to correctly
determine processor types on HP's PA-RISC, plus small additions for
PowerPC LynxOS and cygwin32. For the cygwin32 entry I am not sure what
is the desired format; please check it.
The PA-RISC table for 800-series is rather complicated and I am not sure
if I got it right; it is correct for the entries I had in my
/opt/langtools/lib/sched.models. In particular, there are lots of
models missing from that file (probably still unassigned), so the
heuristics below might be incorrect for future models. If my
sched.models does not include all past models, then it might be
incorrect for older computers, too.
Cheers,
//lat
--
Lassi.Tuura@cern.ch There's no sunrise without a night
----------------------------------------------------------------
Thu Nov 6 18:48:03 1997 Lassi Tuura <lat@hpatl20.cern.ch>
* config.guess: more accurate determination of HP PA-RISC
processor types for 9000/[678]?? series machines, add support for
PowerPC on LynxOS and for Windows NT on CYGWIN32.
* config.sub: ditto.
*** /asis/src/GNU.LANG/gcc-2.7.2.3/config.guess Tue Jun 24 20:42:50 1997
--- config.guess Thu Nov 6 18:32:37 1997
***************
*** 219,226 ****
case "${UNAME_MACHINE}" in
9000/31? ) HP_ARCH=m68000 ;;
9000/[34]?? ) HP_ARCH=m68k ;;
! 9000/7?? | 9000/8?[79] ) HP_ARCH=hppa1.1 ;;
! 9000/8?? ) HP_ARCH=hppa1.0 ;;
esac
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
--- 219,231 ----
case "${UNAME_MACHINE}" in
9000/31? ) HP_ARCH=m68000 ;;
9000/[34]?? ) HP_ARCH=m68k ;;
! 9000/6?? ) HP_ARCH=hppa1.0 ;;
! 9000/78? ) HP_ARCH=hppa2.0 ;;
! 9000/7?? ) HP_ARCH=hppa1.1 ;;
! 9000/8[67]1 | 9000/80[24] | 9000/8[78]9 | 9000/893 )
! HP_ARCH=hppa2.0 ;;
! 9000/8?[13679] ) HP_ARCH=hppa1.1 ;;
! 9000/8?? ) HP_ARCH=hppa1.0 ;;
esac
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
***************
*** 364,369 ****
--- 359,367 ----
i[34]86:DYNIX/ptx:4*:*)
echo i386-sequent-sysv4
exit 0 ;;
+ i[3456]86:CYGWIN32/NT:*:*)
+ echo ${UNAME_MACHINE}-cygwin32-winnt${UNAME_RELEASE}
+ exit 0 ;;
i[34]86:*:4.*:* | i[34]86:SYSTEM_V:4.*:*)
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
***************
*** 420,425 ****
--- 418,426 ----
TSUNAMI:LynxOS:2.[23]*:*)
echo sparc-lynx-lynxos${UNAME_RELEASE}
exit 0 ;;
+ PowerPC:LynxOS:2.[23]*:*)
+ echo powerpc-lynx-lynxos${UNAME_RELEASE}
+ exit 0 ;;
rs6000:LynxOS:2.[23]*:*)
echo rs6000-lynx-lynxos${UNAME_RELEASE}
exit 0 ;;
*** /asis/src/GNU.LANG/gcc-2.7.2.3/config.sub Tue Jun 24 20:42:50 1997
--- config.sub Thu Nov 6 19:02:04 1997
***************
*** 307,313 ****
hp9k3[2-9][0-9])
basic_machine=m68k-hp
;;
! hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7)
basic_machine=hppa1.1-hp
;;
hp9k8[0-9][0-9] | hp8[0-9][0-9])
--- 307,326 ----
hp9k3[2-9][0-9])
basic_machine=m68k-hp
;;
! hp9k6[0-9][0-9] | hp6[0-9][0-9] )
! basic_machine=hppa1.0-hp
! ;;
! hp9k7[0-79][0-9] | hp7[0-79][0-9] )
! basic_machine=hppa1.1-hp
! ;;
! hp9k78[0-9] | hp78[0-9] )
! basic_machine=hppa2.0-hp
! ;;
! hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | \
! hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893 )
! basic_machine=hppa2.0-hp
! ;;
! hp9k8[0-9][13679] | hp8[0-9][13679] )
basic_machine=hppa1.1-hp
;;
hp9k8[0-9][0-9] | hp8[0-9][0-9])
next reply other threads:[~1997-11-13 5:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-11-13 5:17 Lassi A. Tuura [this message]
[not found] <346207C2.74FF2820@cern.ch>
1998-01-23 11:15 ` Jeffrey A Law
1998-01-27 13:20 ` Lassi A. Tuura
1998-01-27 16:18 ` Ian Lance Taylor
1998-01-28 0:50 ` Lassi A. Tuura
1998-01-27 22:20 ` Jeffrey A Law
1998-01-28 15:03 ` David Edelsohn
1998-01-29 0:41 ` Lassi A. Tuura
1998-01-29 14:41 ` David Edelsohn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=346AFDB7.D60D992B@cern.ch \
--to=lassi.tuura@cern.ch \
--cc=egcs@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).