From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fa2b31ba820be9e2 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-04-29 13:16:59 PST Path: gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!centre.univ-orleans.fr!univ-lyon1.fr!swidir.switch.ch!scsing.switch.ch!elna.ethz.ch!iis.ethz.ch!rosenth From: rosenth@iis.ethz.ch (L.Rosenthaler) Newsgroups: comp.unix.osf.osf1 Subject: Re: How to port VMS to UNIX?? Date: 29 Apr 1994 15:03:08 GMT Organization: Institute for Integrated Systems, ETH Zuerich Distribution: world Message-ID: <2pr7jc$ei4@elna.ethz.ch> References: Reply-To: rosenth@iis.ethz.ch (L.Rosenthaler) NNTP-Posting-Host: musica.ethz.ch I'm sorry that I missed the original posting, but I like to comment some of the comments of Michael Vilain: In article , vilain@netcom.com (Michael Vilain) writes: |> ronm@SLCSRV.SLAC.STANFORD.EDU writes: |> |> There's a book "UNIX FOR VMS USERS" available from DEC press. It's also |> at Stacy's in Palo Alto and Technical Books in Sunnyvale. |> |> The project you outline is non-trivial (no sh*t!) and contains several |> parts that don't translate well from VMS to UNIX. In general that is very true. However, it really depends on the Unix system You choose. It is obvious (is it ?) that if You choose for example a DEC OSF/1 Alpha, many problems will be less severe than if You choose another brand. |> |> Off the top of my head here are my thougts: |> |> 1) most unix systems can and don't do REALTIME. They aren't designed |> to respond this way. Finding a system that does sort of obiates the |> port because you're porting to allow moving to other hardware and away |> from DEC, right? OSF/1 has a realtime option which is to some degree similar to VMS |> |> 2) VAX FORTRAN isn't really transportable to other platforms (unless |> there are 3rd party compilers), especially if you're using the |> non-ANSI stuff like RECORD rather than EQUIVALENCEd COMMONs. No problem with FORTRAN on OSF/1. |> |> 3) VAX C issues can be examined now by getting the GNU C compiler and |> running your stuff through that. If it works OK with that, you're |> in good shape as the GNU C is on lots of systems and it's the same |> on all of them. Again no problem with OSF/1 cc (there is a -vaxc optieon...) |> |> 4) There's no such thing as Sharable images or global sections |> on Unix. That part has to go. Use sockets or pipes to |> communicate to different processes and a communications |> protocol. Many things can be done quite similar using the mmap function and shared memory! I did interprocess communication on a program which ran on VMS and UNIX, and I could use the very same principals (the same philosophy) on both systems (global sections <--> shared memory) |> |> 5) Port the MACRO to C. no way around it. ON the alpha, there may be tools. I don't know... |> |> Good luck, you'll need lots of it! |> This You need in any way! |> /MeV/ |> -- Lukas Rosenthaler Scientific Photography Lab University of Basel Switzerland