From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,9e7f6206dac727ef X-Google-Attributes: gid1164f8,public From: system@SendSpamHere.ORG (Brian Schenkenberger, VAXman-) Subject: Re: run c programs on OpenVMS Date: 2000/07/13 Message-ID: <009ED061.29D4F107@SendSpamHere.ORG>#1/1 X-Deja-AN: 646010626 References: <396B5CD0.14003247@email.sps.mot.com> <009ECECE.48036840@SendSpamHere.ORG> <8ki8ii$guo@gap.cco.caltech.edu> <396DE52B.8E802C79@bbc.co.uk> Organization: TMESIS Software Reply-To: system@SendSpamHere.ORG Newsgroups: comp.sys.dec X-Complaints-To: newsabuse@supernews.com In article <396DE52B.8E802C79@bbc.co.uk>, Tim Llewellyn 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 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