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 <3640A23C.41B8046A@nortel.ca>you write:
  > I'm looking a bit at adding HPPA 2.0 hooks into the compiler and am
  > looking at config.guess.  The model number-based selection criterion has
  > a problem.  Our V-class HPUX 11 box has model number 800.  This is a 2.0
  > machine.  But looking in the sched.models file on an HPUX 9 machine, I
  > see that 800 is an old 1.0 machine.  Model number 700 also has the same
  > problem.  Unless support for old 1.0 machines is going to be dropped, we
  > need something a bit more sophisticated.
  > 
  > An easy way to determine the architecture is using the file
  > sched.models.  Is this safe?  Is it available on all HPUX machines?  All
  > the machines we have have it, but those are only 9.x, 10.x and 11.x
  > machines.
  > 
  > Alternatively, those two model numbers could just be trapped and checked
  > against OS version.
It's not always available.  But I think we can look for it and use it if
it's available.  Else fall back to the old code.

What is the specific model #?  "800" and "700" refer to classes of machines
(mostly dealing with the bus architecture in the early days).

Your machine should have a specific model number.  You ought to be able
to get it from uname -a.  Something like 849, 877, etc etc.  Those usually
are enough to allow us to tweak config.guess to DTRT. 

jeff


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