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/13	[thread overview]
Message-ID: <009ED061.29D4F107@SendSpamHere.ORG> (raw)
In-Reply-To: 396DE52B.8E802C79@bbc.co.uk

In article <396DE52B.8E802C79@bbc.co.uk>, Tim Llewellyn <tim.llewellyn@bbc.co.uk> writes:
>
>
>David Mathog wrote:
>
>> 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!
>
>I do not program C++ and have only dabbled in C. However, my experience
>has been that extra compile time checking may introduce extra work at build
>time, but that is really worth it because then you don't get all those run-time
>problems.
>
>
>> 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.
>>
>
>David, I really do appreciate I think where you are coming from, but to me the
>above statement translates to "the apps developed on unix are badly developed
>and full of run-time bugs that are only exposed by attempting compilation and/or
>execution on VMS".
>
>Are these applications really stable on unix? Equally stable on different unix platforms?
>
>Just being the VMS bigots advocate again.
>
>Regards
>--
>Tim Llewellyn, OpenVMS Infrastructure, Remarcs Project
>MedAS at the BBC, Whiteladies Road, Bristol, UK.
>Email tim.llewellyn@bbc.co.uk. Home tim.llewellyn@cableinet.co.uk
>
>I speak for myself only and my views in no way represent those of
>MedAS or the BBC.

One company I've been working with got themselves a really bad, incurable
case of the C++ religion, so much so that every coder in the org started
coughing up C++ babble without a clue as to what OOD is all about.  Just
jump on the latest 'way-cool' language of the moment bandwagon mentality.

Lots and lots and lots of code was developed by the unix-minded C++ code
spewers in this org that seemed to compile, link and run just fine on the
unix platforms.  The C++ compiler vomitted like a Linda Blair character
when this was built on VMS.  The reason?  Mostly badly coded C++ and C++
errors that went completely undetected on the other platforms.

Debugging C++ programs... please!  The name mangling psychosis of C++ is
enough to drive one to the brink of self-annihiliation.  Cibil would have
begged her mother to make her hold her water and play the "Battle Hymn of
the Republic" over having to tolerate wading neck-deep in the name mangled 
sewage effluent of the C++ compiler.

Give me an assembler any day!
--
VAXman- OpenVMS APE certification number: AAA-0001     VAXman(at)TMESIS(dot)COM



  reply	other threads:[~2000-07-13  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-
2000-07-13  4:00     ` Tim Llewellyn
2000-07-13  4:00       ` Brian Schenkenberger, VAXman- [this message]
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