From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,92eb580061e3971a X-Google-Attributes: gidfee84,public From: Bob Harris Subject: Re: Binary compatibility between 4.0D and 5.0? Date: 2000/04/25 Message-ID: <250420001010384535%harris@zk3.dec.com>#1/1 X-Deja-AN: 615473663 Content-Transfer-Encoding: 8bit References: <8e27ig$8bq@gvu1.cc.gatech.edu> To: shl@cc.gatech.edu (Susan Liebeskind) Posted-And-Mailed: yes Content-Type: text/plain; charset=ISO-8859-1 Organization: Digital Equipment Corporation, Palo Alto, CA, USA Mime-Version: 1.0 User-Agent: YA-NewsWatcher/5.0.1 Newsgroups: comp.unix.osf.osf1 [[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] In article <8e27ig$8bq@gvu1.cc.gatech.edu>, Susan Liebeskind wrote: >We are in the planning stages for upgrading some of our supported >applications from TruUnix 4.0D (formerly Digital Unix 4.0D) to >Tru64Unix 5.0 and are trying to track down some information about >the upgrade process. > >The big question: > >Is this a binary compatible release? Can my existing applications run >on a 5.0 platform without relinking? Or is a relink and/or recompile >necessary? For the most part, user programs should continue to run without any problems. That is a goal of any new release of Tru64 UNIX. Programs that make assumptions about the internal workings of the kernel (for example they open /dev/mem or /dev/kmem) will most likely require changes. Programs or scripts that parse the output of some Tru64 UNIX utility may have to be tweeked "if and only if" the utility has changed its output format (but that is almost always true with any new release of any operating system). It is a good idea to read the Release Notes for information about what has changed in the new release, and the "Technical updates for Version 5.0" V5.0 Tech update: V5.0 Release Notes: Anytime a feature is going to be removed from the operating system, a notice is included in the release notes in a prior release (typically a year or more in advance) to announce the removal of a feature (such as the removal of Display Postscript that occurred in v4.0f). In other cases if an API is going to be changed, a lot of engineering work goes into making the change so that both old and new programs will continue to work (for example the V5.0 change to the stat and statfs structures that increased some 32 bit fields to 64 bits in order to handle larger sized files and file systems). Programs compiled on a release prior to V5.0 continue to get the same stat or statfs structure they always got, and programs compiled on V5.0 get the new structures. This is called out in the v5.0 release notes, including how to link against older libraries. However, it is _NOT_ a goal to allow programs compiled on V5.0 to work on older releases. That is to say, a program compiled on V5.0 will most likely not run on a V4.0f or older system. If you need this ability then be prepared to build such programs on the older version of the operating system before distributing them.