home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / hp / 14630 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.4 KB

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