From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8c76c4f85a3f2472 X-Google-Attributes: gidfee84,public From: Charles M Richmond Subject: Re: Trouble with forward compatibility Date: 1998/02/17 Message-ID: <34E9FFF4.11791BDF@iisc.com>#1/1 X-Deja-AN: 325988606 Content-Transfer-Encoding: 7bit References: <34E32B46.CA8691BC@sics.se> <34E40730.9BB75FD9@brighttiger.com> <34E7FCAA.FE3DB0A0@sics.se> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Organization: Integrated International Systems Corp. Newsgroups: comp.unix.osf.osf1 Jesper Eskilson wrote: > > Jeff Denham wrote: > > > What you're doing isn't supported. Sometimes it works, though, and sometimes it > > doesn't. If you want to run code on both 3.2X and 4.0, you *must* build on 3.2X. > > "Upward" binary compatibility (earlier version to later version) is strongly > > supported; "backward" (later to earlier) isn't. > > > > To support backward compat would seriously inhibit the enhancement of the OS. > > Lord knows, supporting upward compatitibity makes it hard enough sometimes! > > Yes, I get your point, forward compatibility is nothing on which you can > count on. However, it would be very helpful if I could get this particular > instance to work. Is 4.0 such a major revision compared to 3.2 that any > attempts to use 4.0 binaries on a 3.2-machine is doomed to fail? I have > customers out there which aren't too happy with a "please upgrade your system"- > answer to their bug-reports. > The answer is relatively easy. If you want to compile on 4.0 and to have your binaries run on 3.2 then you must compile statically linked binaries. Try using the "-non_shared" option to ld. Charlie -- *********************************************************************** * Charles Richmond Integrated International Systems Corporation * * cmr@iisc.com cmr@koibito.iisc.com cmr@shore.net * * UNIX Internals, I18N, L10N, X, Realtime Imaging, and Custom S/W * * One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431 * * (617) 723 7695 (617) 367 3151 FAX (617) 723 6861 * ***********************************************************************