home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!think.com!barmar
- From: barmar@think.com (Barry Margolin)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: How to update shared libraries?
- Date: 25 Dec 1992 18:31:32 GMT
- Organization: Thinking Machines Corporation, Cambridge MA, USA
- Lines: 24
- Message-ID: <1hfk24INN63f@early-bird.think.com>
- References: <1992Dec17.115050.9821@news.uni-stuttgart.de> <1gqiuvINNj6m@early-bird.think.com> <FAN.92Dec24195523@tammy.cath.puh.upmc.edu>
- NNTP-Posting-Host: gandalf.think.com
-
- In article <FAN.92Dec24195523@tammy.cath.puh.upmc.edu> fan@tammy.cath.puh.upmc.edu (Ningping Fan) writes:
- >When I read your article, another problem is acrossing over my mind.
- >Why static linked binary program may not work in a newer version OS?
- >Since it is binary machine codes, i.e. the Sparc processor codes,
- >it should work across all the Sparc processor machine, isn't it?
-
- It is also SunOS system calls, and the internal interfaces to system calls
- may change between releases. These differences can be hidden by the new
- version of the library functions that are used from C.
-
- >Is that to link dynamically, could the problem of different version
- >of shared lib be existed? What I really mean is that for a software
- >company to distribute his software in binary format, should the
- >company to link the code dynamically or statically in order to
- >guarantee the code work across all the Sparc workstations with various
- >versions of OSs?
-
- You should compile and link dynamically on the oldest version of the OS you
- wish to support.
- --
- Barry Margolin
- System Manager, Thinking Machines Corp.
-
- barmar@think.com {uunet,harvard}!think!barmar
-