This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Guessing HP architecture?
- To: egcs at cygnus dot com
- Subject: Guessing HP architecture?
- From: "Jerry Quinn" <Jerry dot Quinn dot jquinn at nt dot com>
- Date: Wed, 04 Nov 1998 13:51:40 -0500
- Organization: Nortel
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.
--
Jerry Quinn Tel: (514) 761-8737
jquinn@nortel.ca Fax: (514) 761-8505
Speech Recognition Research