home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / hp / 9843 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  2.1 KB

  1. From: shoe@hpcuhe.cup.hp.com (Jim Schumacher)
  2. Date: Sat, 29 Aug 1992 03:16:55 GMT
  3. Subject: Re: What is the 7xx series compatible with ?
  4. Message-ID: <31480235@hpcuhe.cup.hp.com>
  5. Organization: Hewlett Packard, Cupertino
  6. Path: sparky!uunet!usc!sdd.hp.com!hpscdc!cupnews0.cup.hp.com!hppad.waterloo.hp.com!hppad!hpfcso!hpcuhb!hpcuhe!shoe
  7. Newsgroups: comp.sys.hp
  8. References: <1992Aug26.233148.28230@infonode.ingr.com>
  9. Lines: 48
  10.  
  11.  
  12. >/ hpcuhe:comp.sys.hp / stanb@hpnmdla.sr.hp.com (Stan Bischof) /  1:25 pm  Aug 26, 1992 /
  13. >In comp.sys.hp, e-sink@uiuc.edu (Eric W. Sink) writes:
  14.  
  15. >>If I compile binaries on my 720, HPUX 8.07, will they run on any
  16. >>other series of the HP 9000 ?  For example, I have heard of Series
  17. >>800, series 400, series 300, etc...  What am I compatible with, in
  18. >>theory ?
  19. >
  20. >Basically have three series:
  21. >
  22. >300/400
  23. >700
  24. >800
  25. >
  26. >(actually there is a 600, but that's another story)
  27. >
  28. >Aside from some binaries compiled on an 800 running on a 700 there is 
  29. >essentially no compatibility.
  30.  
  31. What makes you say this? We work very hard in the compiler
  32. lab (and others) to have binary compatibility and we have it as far 
  33. as we know (it works for us all the time). I would be very interested 
  34. in hearing any stories you have to tell. Granted, if your application
  35. is looking at /dev/kmem, it may find some differences between the 700
  36. and 800 kernels, but applications that are not married to the OS 
  37. should have no problems. 
  38.  
  39. As far as telling whether an archive library contains object files
  40. that are PA1.1, there is an unsupported tool in the contrib fileset
  41. called odump that comes in handy. odump -u for usage:
  42.  
  43. hpcll32 297 $ ar cvr libfoo.a foo.o it.o
  44. r - foo.o
  45. a - it.o
  46. hpcll32 298 $ /usr/contrib/bin/odump -head libfoo.a | egrep "Header|RISC"
  47. Header record for : libfoo.a[foo.o]
  48. system id:        0210 (PA-RISC 1.1)    magic number:   0106
  49. Header record for : libfoo.a[it.o]
  50. system id:        0210 (PA-RISC 1.1)    magic number:   0106
  51.  
  52. Granted, you may have to play with the output to get a nice report, but
  53. odump does look at each object of an archive in turn. odump can also 
  54. be used on executables and shared libraries. 
  55.  
  56. jim shoe
  57.  
  58.  
  59.