From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,32c594a83e2d8db X-Google-Attributes: gid1164f8,public X-Google-Thread: f6356,6b10a9027bc08fdc X-Google-Attributes: gidf6356,public X-Google-ArrivalTime: 1993-10-15 21:26:25 PST Xref: gmd.de comp.sys.dec:10953 comp.unix.user-friendly:621 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!seas.smu.edu!mic!montagar!davidc From: davidc@alpha.montagar.com (David L. Cathey) Newsgroups: comp.sys.dec,comp.unix.user-friendly Subject: Re: Move from VMS to Open VMS or to HP-UX? Advice sought! Message-ID: <1993Oct15.155307.18438@alpha.montagar.com> Date: 15 Oct 93 15:53:07 CDT References: <1993Oct11.134917.6963@dxcern.cern.ch> Organization: Montagar Software Concepts, Plano TX In article <1993Oct11.134917.6963@dxcern.cern.ch>, lishka@dxcern.cern.ch (Christopher Lishka) writes: > OK: I was a little hasty. Slightly... > For that matter, I am sure that somebody can dredge up an old program > that ran under some old version of Unix which now runs on a new > version of Unix without recompilation (given the same hardware). Please try to do this. I would be very interested if anyone could. > To > me this is not necessarily a useful thing, though: if you can't > recompile on the new hardware and get it to work, then the forward > compatibility is useless. What happens when your 1981 program breaks > on the next OS version (for example, because major portions of the OS > have been restructured as in VMS/VAX 6.0), and all of a sudden you > find you can't recompile either? But this hasn't happened, has it? I know people with V1.0 VMS images that run on V6.0. The whole IDEA of how VMS was architected was to make it easy to move up versions without breaking things (hence GSMATCH values on nearly every run-time library). Even many device drivers can survive VMS changes (pre V5 required relink across *.0 releases, since then even device drivers can be moved across *.0 boundries!). > >Did you try to VEST the VAX executable? > > Yes I have, it is running, and as far as I know this works. > > But it is not a real solution: How's that? You have a working program, and this is not a solution? > My example shows that the differences between VAX C > and DEC C are large enough that >even< if the program compiles without > any errors, it is still >NOT< guaranteed to run properly. Even a DEC > employee related to the DEC C project has said that there are > significant difference between VAX C and DEC C and that migration isn't > necessarily a straightforward recompilation. Did you use /STANDARD=VAXC? Remember that the compiler is an ANSI C compiler, and people bemoaned that VAXC wasn't. "Real soon now" DEC C should be available on the VAX, which should help this out. That there are even different C standards is what is causing you problems, and can in the Unix space as well... > The fact is that even on VMS moving programs between architectures can > be as hairy as Unix at times. But you can get it working in short order, if anything using VEST. There isn't anything in the Unix space that compares to that. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - David L. Cathey |INET: davidc@montagar.com Montagar Software Concepts |UUCP: ...!montagar!davidc P. O. Box 260772, Plano TX 75026-0772 |Fone: (214)-618-2117