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