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: Tim Llewellyn Subject: Re: run c programs on OpenVMS Date: 2000/07/13 Message-ID: <396DE52B.8E802C79@bbc.co.uk>#1/1 X-Deja-AN: 645951425 Content-Transfer-Encoding: 7bit References: <396B5CD0.14003247@email.sps.mot.com> <009ECECE.48036840@SendSpamHere.ORG> <8ki8ii$guo@gap.cco.caltech.edu> X-Accept-Language: en X-BBC-Trace: MTMyLjE4NS43LjEzLFBDLUwzMTEwMDEsTExFV0VUODA= Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@bbc.co.uk X-Trace: nntp0.reith.bbc.co.uk 963503585 2455 132.185.7.13 (13 Jul 2000 15:53:05 GMT) Organization: Medas at The BBC, Bristol Mime-Version: 1.0 Reply-To: tim.llewellyn@bbc.co.uk NNTP-Posting-Date: 13 Jul 2000 15:53:05 GMT Newsgroups: comp.sys.dec 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.