Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: cja@oleum.zso.dec.com (Carl J. Appellof)
Subject: Re: Porting applications from UNIX to VMS
Date: 21 Nov 1994 17:23:20 GMT	[thread overview]
Message-ID: <3aql28$rs6@therag.zso.dec.com> (raw)
In-Reply-To: 3ajua4$cmg@dublin.eiffel.com

Tom Hoffman (tomh@dublin.eiffel.com) wrote:
> We are currently attempting to port an application from UNIX to VMS.
> We would like to know if there are any tools, documents, white-papers,
> newsgroups, etc. available to help make the task easier. We would
> especially like to get VMS versions of some UNIX tools like make, 
> yacc, lex, flex, etc.
>   
>...
>   
> I would also like to know if anyone has had experience (good or bad) with
> DEC's VMS Posix.

In my last job, we ported a rather large UNIX server application to
VMS using the POSIX for OpenVMS environment.  The application used TCP/IP,
signals, fork, and was already designed to be portable among many
UNIXes.

Within the POSIX environment, you'll see a lot of old UNIX friends:
make, lex, yacc, rcs.  The "sh" shell is the Korn shell ("ksh") as far as
I can tell.

I won't say the job was easy, but it was a lot easier than porting to
"native VMS".  As someone else pointed out, the compiler can be the
biggest stumbling block.  VAXC was a major pain for us.  A more recent
port of a new version of the same code using DECC was pretty painless.

Even after your application is ported, you should be on the lookout for
common practices on UNIX that don't work so well on VMS.  One common one
is a UNIX application's tendency to use fork() a lot.  This works on VMS
POSIX, but is pretty slow on VMS because process creation on VMS is slow.
You'll also see this effect if your product uses shell scripts that invoke
a lot of non-builtin commands.

Good luck.
--
Carl J. Appellof (cja@zso.dec.com)
NT Systems Group
Digital Equipment Corporation


      parent reply	other threads:[~1994-11-21 17:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-19  4:18 Porting applications from UNIX to VMS Tom Hoffman
1994-11-20 23:01 ` Sean Donelan
1994-11-21 16:16   ` Peter da Silva
1994-11-21 16:41     ` Terry C Shannon
1994-11-27 14:09       ` Jonathan Eunice
1994-11-21 17:23 ` Carl J. Appellof [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox