home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / programm / 7783 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.3 KB  |  32 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!pipex!demon!prim.demon.co.uk!dave
  3. From: dave@prim.demon.co.uk (Dave Griffiths)
  4. Subject: Re: finding version numbers
  5. Message-ID: <1992Dec16.112911.1357@prim>
  6. Organization: Primitive Software Ltd.
  7. References: <1992Dec8.024303.29691@msuinfo.cl.msu.edu> <1992Dec8.145024.23485@fnbc.com>
  8. Date: Wed, 16 Dec 1992 11:29:11 GMT
  9. Lines: 21
  10.  
  11. In article <1992Dec8.145024.23485@fnbc.com> drew@fnbc.com writes:
  12. >In article <1992Dec8.024303.29691@msuinfo.cl.msu.edu> lebay@mercury.cl.msu.edu  
  13. >(Jim LeBay) writes:
  14. >> How can my program find out which version of NeXTStep it's running 
  15. >> under?  The only thing I've found so far is to call the Mach function  
  16. >> host_kernel_version() and parse the return string.  But is the Mach  
  17. >> kernel version number always the same as the NeXTStep version number?
  18. >
  19. >One crude solution, if you want to find out just the revision level of  
  20. >NeXTSTEP, is to look in /usr/lib/NextStep/software_version.
  21. >
  22.  
  23. That file doesn't exist on my 2.0 system!
  24.  
  25. BTW, are developers out there trying to maintain software that will run on 
  26. both 2.x and 3.0, or is the feeling that everyone will eventually upgrade?
  27.  
  28. I was thinking of trying to maintain common source for both 2.x and 3.0 
  29. versions of the app I'm writing - is there any point?
  30.  
  31. Dave Griffiths
  32.