home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!sdd.hp.com!hpscit.sc.hp.com!hplextra!hpfcso!hpcss01!hpcuhe!shoe
- From: shoe@hpcuhe.cup.hp.com (Jim Schumacher)
- Newsgroups: comp.sys.hp
- Subject: Re: Binary Compatibility between 700 and 800 ??
- Message-ID: <31480305@hpcuhe.cup.hp.com>
- Date: 7 Jan 93 01:06:01 GMT
- References: <1992Dec31.190613.10019@panther.mot.com>
- Organization: Hewlett Packard, Cupertino
- Lines: 24
-
-
- >/ hpcuhe:comp.sys.hp / andrew@iem.com (Andrew Patterson)
-
- >Also make sure that every object file in every library that you link
- >in to your program is also compiled to the lowest common denominator.
- >On the S700, all standard libraries are compilid to PA RISC 1.0 code
- >which can run on any S800 or S700 machine. But beware of contributed
- >libraries. Do not rely on the "file" command to determine code type.
- >You must extract every object file in the the library and run "file"
- >on each object. (Is there an easier way to do this?).
-
- There is an unsupported object file dump utility called odump that
- will print this information. I believe it is available on the
- Interworks distribution.
-
- cobra57 158 $ odump -head /lib/libc.a | egrep "Header|RISC" | more
- Header record for : /lib/libc.a[hpux_rel.o]
- system id: 020b (PA-RISC 1.0) magic number: 0106
- Header record for : /lib/libc.a[U_Qfabs.o]
- system id: 020b (PA-RISC 1.0) magic number: 0106
-
- odump -usage will give list of options
-
- jim shoe
-