This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Guessing HP architecture?
- To: "Jerry Quinn" <Jerry dot Quinn dot jquinn at nt dot com>
- Subject: Re: Guessing HP architecture?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 06 Nov 1998 20:36:14 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
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