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 <36431C10.ED788604@nortel.ca>you write:
  > The specific model number for the VClass IS 9000/800.  uname -a returns:
  > 
  > HP-UX bmtlh4d1 B.11.00 A 9000/800 71949 two-user license
Bummer.  It really claimed to be a 9000/800.

  > 9000/800/V2200
  > 
  > Granted this machine isn't really a concern yet because egcs doesn't
  > support HPUX11, but we need to be aware of it.
  > 
  > I received an email from Rodney Brown suggesting the use of sysconf(). 
  > This call would allow us to get the CPU version, but requires building a
  > C program.  There is a utility called getconf on HPUX 9 and 10, but it
  > doesn't seem to support CPU versions.
That would be fine to try to -- ie, we could try that, then fall back to
looking at the model name return by uname.

jeff


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