home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sun / misc / 4171 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  1.6 KB

  1. Path: sparky!uunet!caen!sdd.hp.com!think.com!barmar
  2. From: barmar@think.com (Barry Margolin)
  3. Newsgroups: comp.sys.sun.misc
  4. Subject: Re: mixed SunOS 4.1.1 and 4.1.2 environments
  5. Date: 10 Sep 1992 20:12:51 GMT
  6. Organization: Thinking Machines Corporation, Cambridge MA, USA
  7. Lines: 24
  8. Message-ID: <18oa83INNg2h@early-bird.think.com>
  9. References: <1992Sep10.152932.127656@eratu.rz.uni-konstanz.de>
  10. NNTP-Posting-Host: telecaster.think.com
  11. Keywords: SunOS 4.1.1, SunOS 4.1.2, compytibility, shared library
  12.  
  13. In article <1992Sep10.152932.127656@eratu.rz.uni-konstanz.de> hoehle@lindau.inf-wiss.ivp.uni-konstanz.de (Joerg-Cyril Hoehle) writes:
  14. >In order to prevent these warning to appear, I thought about compiling on a fast
  15. >4.1.2 machine, removing the executable, login into a slower 4.1.1 machine, typing
  16. >make again so that only linking (with the older libraries) is done and not the
  17. >full compile stage. The warning then disappears.
  18. >
  19. >Question: is this safe? Or should compile and link happen on the older OS for
  20. >compatibility between includes and libraries?
  21.  
  22. It's generally safe, although I wouldn't bet my life on it, and I always
  23. recommend doing the entire build on the older version of the OS.  Most
  24. structures used in Unix library calls don't have any kind of version
  25. information, so you're not likely to present an old library routine with a
  26. version of the structure that it can't handle.
  27.  
  28. However, some macros may expand into calls to library routines that didn't
  29. exist in the older release.  In general, if the link succeeds, it's likely
  30. to be OK.
  31.  
  32. -- 
  33. Barry Margolin
  34. System Manager, Thinking Machines Corp.
  35.  
  36. barmar@think.com          {uunet,harvard}!think!barmar
  37.