This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Guessing HP architecture?



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]