Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Porting applications from UNIX to VMS
@ 1994-11-19  4:18 Tom Hoffman
  1994-11-20 23:01 ` Sean Donelan
  1994-11-21 17:23 ` Carl J. Appellof
  0 siblings, 2 replies; 6+ messages in thread
From: Tom Hoffman @ 1994-11-19  4:18 UTC (permalink / raw)


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.
  
The application we are attempting to port is an object-oriented compiler
and software development environment, written in C. The application is fairly
sophisticated and makes use of memory management, network access,
signals, etc. 
  
I would also like to know if anyone has had experience (good or bad) with
DEC's VMS Posix.
  
We are aware that porting applications from UNIX to VMS is a bit
bass-ackwards, rather like swimming upstream. However we have committed 
to our customers that the port will be done, and we are under a tight 
time-limit (who isn't these days!).  
  
Please send all responses to: 

	Tom Hoffman
 	Interactive Software Engineering
    tomh@eiffel.com




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Porting applications from UNIX to VMS
  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 17:23 ` Carl J. Appellof
  1 sibling, 1 reply; 6+ messages in thread
From: Sean Donelan @ 1994-11-20 23:01 UTC (permalink / raw)


If you have never ported your application to another operating system (or
even other versions of UNIX) you may discover a lot of UNIXisms that
will cause you trouble.  Assuming you have followed good software coding
practices, porting should be fairly simple.  There are VMS versions of
many UNIX tools.  Most of the GNU tools have been ported to VMS.

I've compiled many UNIX programs on VMS with only a little tweeking of
the CC compile line.  I've also had many UNIX programs that were so
dependent on some UNIX feature, I would have had trouble even porting it
between SYS/V and BSD UNIX variants.

So guess what.  The answer is "It depends on your application."

Oh, DEC used to have some manuals about porting stuff.  I have no idea
if there is anyone left at DEC who could help you.
-- 
Sean Donelan, Data Research Associates, Inc, St. Louis, MO
Domain: sean@dra.com, Voice: (Work) +1 314-432-1100


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Porting applications from UNIX to VMS
  1994-11-20 23:01 ` Sean Donelan
@ 1994-11-21 16:16   ` Peter da Silva
  1994-11-21 16:41     ` Terry C Shannon
  0 siblings, 1 reply; 6+ messages in thread
From: Peter da Silva @ 1994-11-21 16:16 UTC (permalink / raw)


The worst porting nightmare I ever had was porting from one C compiler
to another on the SAME MACHINE *, so I'll just add to the previous poster's
comment by saying there's no way to tell without looking at the code.

--- 
* Twice, actually. The first was from Wizard C to Lattice C on the IBM/PC.
  The second was from Lattice C to Manx C on the Amiga.
-- 
Peter da Silva                                            `-_-'
Network Management Technology Incorporated                 'U`
1601 Industrial Blvd.     Sugar Land, TX  77478  USA
+1 713 274 5180                       "Hast Du heute schon Deinen Wolf umarmt?"


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Porting applications from UNIX to VMS
  1994-11-21 16:16   ` Peter da Silva
@ 1994-11-21 16:41     ` Terry C Shannon
  1994-11-27 14:09       ` Jonathan Eunice
  0 siblings, 1 reply; 6+ messages in thread
From: Terry C Shannon @ 1994-11-21 16:41 UTC (permalink / raw)


DEC is willing to give you, free of charge, an 80+ page tome called 
"Migration and Coexistence Between OpenVMS & Unix."  Said booklet 
addresses many of the high-level issues surrounding migration, including 
"should I migrate" and "if so, how."  Also discussed are the system 
management, programmer and end-user aspects of migration.  Good reading 
and well worth the price.


-------------------------------------------------------------------------
Terry C. Shannon               For a sample of The Newsletter That Takes
Editor, Shannon Knows DEC      No Prisoners, email your snailmail address
shannon@illuminata.com         to newsletter@illuminata.com.  Do it today.       




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Porting applications from UNIX to VMS
  1994-11-19  4:18 Porting applications from UNIX to VMS Tom Hoffman
  1994-11-20 23:01 ` Sean Donelan
@ 1994-11-21 17:23 ` Carl J. Appellof
  1 sibling, 0 replies; 6+ messages in thread
From: Carl J. Appellof @ 1994-11-21 17:23 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Porting applications from UNIX to VMS
  1994-11-21 16:41     ` Terry C Shannon
@ 1994-11-27 14:09       ` Jonathan Eunice
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Eunice @ 1994-11-27 14:09 UTC (permalink / raw)


shannon@world.std.com (Terry C Shannon) wrote:

> DEC is willing to give you, free of charge, an 80+ page tome called
> "Migration and Coexistence Between OpenVMS & Unix."  Said booklet
> addresses many of the high-level issues surrounding migration, including
> "should I migrate" and "if so, how."  Also discussed are the system
> management, programmer and end-user aspects of migration.  Good reading
> and well worth the price.

Even if the co-author does say so himself!


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1994-11-27 14:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox