Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mathog@seqaxp.bio.caltech.edu (David Mathog)
Subject: Re: run c programs on OpenVMS
Date: 2000/07/12	[thread overview]
Message-ID: <8ki8ii$guo@gap.cco.caltech.edu> (raw)
In-Reply-To: 009ECECE.48036840@SendSpamHere.ORG

In article <009ECECE.48036840@SendSpamHere.ORG>, system@SendSpamHere.ORG (Brian Schenkenberger, VAXman-) writes:
>In article <396B5CD0.14003247@email.sps.mot.com>, Bing Lu <r49956@email.sps.mot.com> writes:
>>Any one knows the commands to compile and run .cpp files on OpenVMS?
>>Thanks.
>
>Requires the C++ compiler...
>
>$ CXX filename.CPP
>$ CXXLINK filename
>$ RUN filename
>

Well, yes, and no.  Mostly no.  The commands are right, but the odds of it
working for anything but a trivial program are vanishingly small.   You 
stand a better chance if the code has already been made to run on several 
platforms, and especially if most of those do NOT use gcc as the compiler.
Take a look at the Makefile - does it cause any sort of standards checking 
to be enabled?  If not, well, best of luck to you - you'll need it!

Oh yes, once you do get it to compile be prepared for extreme frustration
during the debugging phase.  Debugging C++ on OpenVMS is a task well suited 
for one of the inner circles of hell.

Regards,

David Mathog
mathog@seqaxp.bio.caltech.edu
Manager, sequence analysis facility, biology division, Caltech 



  reply	other threads:[~2000-07-12  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-11  4:00 run c programs on OpenVMS Bing Lu
2000-07-11  4:00 ` Brian Schenkenberger, VAXman-
2000-07-12  4:00   ` David Mathog [this message]
2000-07-12  4:00     ` Brian Schenkenberger, VAXman-
2000-07-13  4:00     ` Tim Llewellyn
2000-07-13  4:00       ` Brian Schenkenberger, VAXman-
2000-07-14  4:00         ` Jonadab the Unsightly One
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