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-ArrivalTime: 1993-10-17 06:43:07 PST Newsgroups: comp.sys.dec Path: gmd.de!Germany.EU.net!mcsun!dxcern!lishka From: lishka@dxcern.cern.ch (Christopher Lishka) Subject: Re: Move from VMS to Open VMS or to HP-UX? Advice sought! Message-ID: <1993Oct17.132726.8199@dxcern.cern.ch> Organization: CERN European Lab for Particle Physics References: <1993Oct11.134917.6963@dxcern.cern.ch> <1993Oct15.155307.18438@alpha.montagar.com> Date: Sun, 17 Oct 1993 13:27:26 GMT [I have removed comp.unix.user-friendly from the newsgroups list -- Chris] In <1993Oct15.155307.18438@alpha.montagar.com> davidc@alpha.montagar.com (David L. Cathey) writes: >In article <1993Oct11.134917.6963@dxcern.cern.ch>, >lishka@dxcern.cern.ch (Christopher Lishka) writes: >> 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. OK. Peter da Silva said previously in this same thread in comp.sys.dec: % We're running Xenix-286 executables on Unixware. The % oldest are only from 1984, but I think I could find % some from 1983 if I tried. Ten years is close % enough, I think. >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!). Terry Poot in comp.os.vms certainly seems to have a device driver that didn't survive the transition to VMS/VAX v6.0. >> >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? No. Being able to run a program on newer hardware that I cannot compile it on is not a real solution. If the migration between VAX and AXP VMS systems is indeed trivial (something that Michael Lemke seemed to imply in the message that I originally responded to), then I should be able to compile on the new platform. VMS/AXP's use of DEC C (which is a major change from VAX C) does not insure this. >> My example shows that the differences >> between VAX C and DEC C are large enough.... > Did you use /STANDARD=VAXC? Of course I did! That is what is so interesting: using the /STAN=VAXC qualifier, I get an AXP GAWK executable that compiles without errors, yet produces completely incorrect results when run. >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. Yes, VAX C has a lot of limitations (or so I hear). I expect that the VAX C to DEC C migration on the VAXen is going to be a little trying at times as well. At least DEC is finally fixing its VMS C compiler. > That there are even different C standards is what is >causing you problems, and can in the Unix space as well... I didn't say it wouldn't cause trouble on a Unix system. A different author (Michael Lemke) wrote: # And mind you, even the program you compiled in 1981 # still runs on the latest VMS version on an AXP # (Alpha). My reply was simply that this isn't necessarily true. Yes, the >VESTed< version runs, but any attempt to compile the same program under DEC C on the AXPs breaks (even with /STAN=VAXC). Are all VAX executables which are run through VEST >guaranteed< to work on the AXPs? >> 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. Yes, VEST is a nice utility to provide a temporary solution to running your VAX program on an AXP. But it is >only< a temporary solution, in my humble opinion. (See a previous article by Benjamin Goldsteen for a similar view.) [Note that some other companies are doing similar things in architecture transitions. Apple is reported to have some sort of Motorola 680x0 interpreter on their new PowerPC machines (to be release some time next Spring). Hopefully this and DEC's VEST will be a migration trend for the future....] -- It takes love over gold, Christopher Lishka And mind over matter, PPE Division, CERN To do what you do that you must. lishka@dxcern.cern.ch -- Dire Straits vxaluw::lishka