Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: system@SendSpamHere.ORG (Brian Schenkenberger, VAXman-)
Subject: Re: run c programs on OpenVMS
Date: 2000/07/12	[thread overview]
Message-ID: <009ECF8D.E8ED9CA1@SendSpamHere.ORG> (raw)
In-Reply-To: 8ki8ii$guo@gap.cco.caltech.edu

In article <8ki8ii$guo@gap.cco.caltech.edu>, mathog@seqaxp.bio.caltech.edu (David Mathog) writes:
>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 


Hmmm...  

File CPLUSPLUS_SUX.CPP is:

#include <iostream>

int eyesorelingo()
{
    cout << "C++ is the software equivalent dog excrement!" << endl;
    return 1;
}


$ CXX CPLUSPLUS_SUX.CPP
$ CXXLINK CPLUSPLUS_SUX
$ RUN CPLUSPLUS_SUX
C++ is the software equivalent dog excrement!
$


Now, what part of the above is NOT CORRECT?

--
VAXman- OpenVMS APE certification number: AAA-0001     VAXman(at)TMESIS(dot)COM



  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
2000-07-12  4:00     ` Brian Schenkenberger, VAXman- [this message]
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