Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!hpfcdc!marc From: marc@hpfcdc.HP.COM (Marc `Play Ball!' Sabatella) Newsgroups: comp.sys.hp Subject: Re: HP-UX 6.5/X11 problems Message-ID: <5570168@hpfcdc.HP.COM> Date: 1 May 89 17:47:14 GMT References: <240018@grlab.UUCP> Organization: HP Ft. Collins, Co. Lines: 27 >We just got a 9000/370 system with HP-UX 6.5. It came with HP's X11 >product. All of our code was compile on our 320 (HP-UX 6.2), so we used >the library that the ld(1) says we need to with old relocatables >referencing setjmp/longjmp (libsetjmp.a). Now for some problems... A word of warning... with 7.0, libsetjmp will go away. ld(1) will be smart enough to use the 'old' setjmp (called v0_setjmp) in libc when necessary, but standard HP-UX libraries will be shipped fully optimized, so you may get errors about floating point incompatibilities when mixing 6.2 and 7.0. > -Is it possible to ld HP-UX 6.5 compiled code on HP-UX 6.2? This stuff > is software that we will be shipping to customers, so recompiling > everything under HP-UX 6.5 is not something we can ship. Unless there > is not other way... It depends on what you are trying to do. Mixing 6.5 object files with 6.2 libraries may fail with either linker (that is, there are cases with each where it *will* fail), but mainly if you compile for the 68010. These can mostly be worked around - compiler generated function calls for things like "long" division changed from ldiv to __ldiv, so just define __ldiv, and have it call ldiv, and 6.5 object files will then happily link to 6.2 libraries. This sort of thing is *NOT* supported. -------------- Marc Sabatella HP Colorado Language Lab (CoLL) marc@hpmonk