This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Guessing HP architecture?
- To: rodneybrown at pmsc dot com
- Subject: Re: Guessing HP architecture?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 04 Dec 1998 01:37:29 -0700
- cc: tege at matematik dot su dot se, jquinn%nt dot com_at_internet_at_pmscmelb2 at cc dot pmsc dot com, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <9811089105.AA910570373@cc.pmsc.com>you write:
> The enclosed patch to config.guess generalizes the Hitachi-Unix
> sysconf(_SC_CPU_VERSION) call to identify the architecture revision
> for HP-UX.
> uname -m on on K380 is identifying the machine as 9000/800 which both
> config.guess and HP's /opt/langtool/lib/sched.models (hpux10.20) sees as
> an HPPA1.0 box.
> /usr/bin/model (New on hpux10.20) gives 9000/800/K380
> Using sysconf(_SC_CPU_VERSION) correctly identifies it as HPPA2.0.
>
> config.guess as patched works as expected on our other hpux10.20 and our
> hpux9.04 box.
>
> The existence of entries for Motorola 680x0 in /usr/include/sys/unistd.h
> bodes well for this working on HP-UX versions prior to 9.
I've installed a different, but hopefully equivalent patch. Well, it does
not contain the merged code with hiux. Then again, I'm not that worried about
hiux support. :-)
Fixes to gcc/configure* config.sub and possibly other files need to be written
since they won't recognize hppa2.0 :(
jeff