From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,820d7a1cd71013db X-Google-Attributes: gid1164f8,public From: Craig Neth Subject: Re: Binary compatibility between OS revisions Date: 1996/10/03 Message-ID: <3253BE0D.167E@zk3.dec.com>#1/1 X-Deja-AN: 186934069 references: <52auc8$n8s@lyra.csx.cam.ac.uk> to: James Bonfield content-type: text/plain; charset=us-ascii organization: CTG mime-version: 1.0 newsgroups: comp.sys.dec x-mailer: Mozilla 3.0Gold (X11; I; OSF1 V4.0 alpha) James Bonfield wrote: > > So, the big question is, what's the official stance of which binaries are > compatible with which OS releases? How does dynamic (probably best) versus > static linking change this? The 'official stance' is that we guarantee upwards compatibility of user mode applications. I.E. if you built it on an older OS release, it should run on *any* newer OS release. If it doesn't, it's a bug and we will fix it. > Some specific examples are: we currently compile under OSF/1 V3.0. We really > ought to upgrade to 3.2C at the least, if not 4.0. However can 4.0 binaries be > ran under 3.0 and 3.2? Officially, you can't move things backwards. Sometimes it works if you link -non_shared, but it isn't guaranteed to, and there are definitely cases where it doesn't work. (For example, in V4.0, the pathconf() function changed from a library routine to a syscall. Old kernels don't have that syscall, so programs that use pathconf() and compiled on V4.0 won't work on V3.x). >Can 3.0 binaries be run under 4.0? (Past record show > this to be likely - I'm even still running OSF/1 BL9 and ultrix converted > binaries now.) See above. -- -------------------------------------------------------------------------------- Craig Neth ! neth@zk3.dec.com Digital Equipment Corporation ! 110 Spit Brook Road ZKO3-3/Y25 ! Nashua, NH 03062 ! Opinions expressed herein are my own. ================================================================================