Responding to a note from Date: Wed, 22 Nov 2006 16:08:27 -0600.

Matthew Woehlke wrote:
> The OS is 11.00, and I can't tell about the compiler ('cc -v' is giving 
> some odd output but no version number).

Because of historical legacy most of the HP-UX programs report version
information using SCCS what strings.  Running 'what' on binary is the
usual way to get version information.  Example from one of my systems.

  $ what /bin/cc
  /bin/cc:
        $Revision: 92453-07 linker linker crt0.o B.11.37 040218 $
        LINT B.11.11.14 CXREF B.11.11.14
        HP92453-01 B.11.11.14 HP C Compiler
         $ PATCH/11.00:PHCO_27774  Oct  3 2002 09:45:59 $ 

This shows the compiler version as B.11.11.14 updated by the
PHCO_27774 patch.

> I build on lots of "old" stuff. :-) (More accurately, I generally build 
> on the oldest box I can find and trust the binaries to work on a newer 
> box as well,

Generally that can be relied upon.  I know of a case where an HP-UX
8.05 binary was being run fine up through 11.23.  But I also know of
one case where an old 8.05 binary stopped working on 11.0 and I never
figured out why.  But these are both pretty extreme examples.

> and "the oldest box I can find" is usually the same one we build our
> own products on; i.e. it is the oldest stuff that *we* still
> support.)

Note that HP-UX 11.0 is now out of vendor support as of the end of
year 2006.  HP-UX 11.0 was released in 1997.

Bob


Reply via email to