* run c programs on OpenVMS @ 2000-07-11 4:00 Bing Lu 2000-07-11 4:00 ` Brian Schenkenberger, VAXman- 0 siblings, 1 reply; 7+ messages in thread From: Bing Lu @ 2000-07-11 4:00 UTC (permalink / raw) Any one knows the commands to compile and run .cpp files on OpenVMS? Thanks. Bing ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: run c programs on OpenVMS 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 0 siblings, 1 reply; 7+ messages in thread From: Brian Schenkenberger, VAXman- @ 2000-07-11 4:00 UTC (permalink / raw) 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 > >Bing > badda bing... -- VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: run c programs on OpenVMS 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 0 siblings, 2 replies; 7+ messages in thread From: David Mathog @ 2000-07-12 4:00 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: run c programs on OpenVMS 2000-07-12 4:00 ` David Mathog @ 2000-07-12 4:00 ` Brian Schenkenberger, VAXman- 2000-07-13 4:00 ` Tim Llewellyn 1 sibling, 0 replies; 7+ messages in thread From: Brian Schenkenberger, VAXman- @ 2000-07-12 4:00 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: run c programs on OpenVMS 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- 1 sibling, 1 reply; 7+ messages in thread From: Tim Llewellyn @ 2000-07-13 4:00 UTC (permalink / raw) 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. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: run c programs on OpenVMS 2000-07-13 4:00 ` Tim Llewellyn @ 2000-07-13 4:00 ` Brian Schenkenberger, VAXman- 2000-07-14 4:00 ` Jonadab the Unsightly One 0 siblings, 1 reply; 7+ messages in thread From: Brian Schenkenberger, VAXman- @ 2000-07-13 4:00 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: run c programs on OpenVMS 2000-07-13 4:00 ` Brian Schenkenberger, VAXman- @ 2000-07-14 4:00 ` Jonadab the Unsightly One 0 siblings, 0 replies; 7+ messages in thread From: Jonadab the Unsightly One @ 2000-07-14 4:00 UTC (permalink / raw) system@SendSpamHere.ORG (Brian Schenkenberger, VAXman-) wrote: > Debugging C++ programs... please! [snip rant] I agree that C++ is mostly evil. C is better. Personally I like Perl and elisp. But then again, I'm admittedly a tad bit eccentric. I also use QBasic from time to time, so there you go. > Give me an assembler any day! I found assembly language (8086 specifically) easier to learn than C++, if only because better documentation is available. - jonadab ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2000-07-14 4:00 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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- 2000-07-14 4:00 ` Jonadab the Unsightly One
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox