home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sun / admin / 6269 < prev    next >
Encoding:
Text File  |  1992-09-10  |  1.8 KB  |  55 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!mcsun!ub4b!sunbim!usenet
  3. From: db@sunbim.be (Danny Backx)
  4. Subject: Re: Binary Compatability between Sparc2 and Sparc10?
  5. Message-ID: <1992Sep11.063750.26107@sunbim.be>
  6. Sender: usenet@sunbim.be (user news)
  7. Reply-To: db@sunbim.be
  8. Organization: Sun Microsystems
  9. References: <18o9lgINNfpb@early-bird.think.com>
  10. Date: Fri, 11 Sep 92 06:37:50 GMT
  11. Lines: 42
  12.  
  13. In article 18o9lgINNfpb@early-bird.think.com, barmar@think.com (Barry Margolin) writes:
  14. >Except for programs that read kernel memory, all Sun SPARC-based systems
  15. >are intended to be binary compatible.
  16.  
  17. Not quite true.
  18. There are several restrictions. Not reading kernel memory is only one of them.
  19.  
  20. The most important condition is that the application should be linked with shared
  21. libraries. [The most important one there is probably libc - it interfaces your BSD
  22. application with the SVR4 kernel which has different system calls.]
  23.  
  24. The following list is taken from "Solaris 2.0 Transition Planning Guide for System
  25. Administrators", page 4 :
  26.     The major restriction on SunOS 4.x binary compatibility is that the application
  27.     must dynamically link the C Library and other system libraries.
  28.     
  29.     Other minor restrictions also apply. Applications must not :
  30.     - Trap directly into the operating system
  31.     - Rely on application-specific ioctls or drivers
  32.     - write or read directly to system files
  33.     - access and interpret kernel data structures via /dev/kmem or libkvm
  34.     - use undocumented SunOS interfaces
  35.  
  36. A good example of what will happen if you have a statically linked application is
  37. Frame Maker (3.1X) - it kindly says "Bad system call".
  38.  
  39.     Danny
  40. ---
  41.     Danny Backx
  42.     System Engineer
  43.  
  44. E-Mail: db@sunbim.be    (or uunet!mcsun!ub4b!sunbim!db)
  45.  
  46. Telephone: +32(2)759.59.25    Fax : +32(2)759.47.95
  47.  
  48. Postal Mail :
  49.     Danny Backx
  50.     BIM
  51.     Kwikstraat 4
  52.     3078 Everberg
  53.     Belgium
  54.  
  55.