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: mathog@seqaxp.bio.caltech.edu (David Mathog) Subject: Re: run c programs on OpenVMS Date: 2000/07/12 Message-ID: <8ki8ii$guo@gap.cco.caltech.edu>#1/1 X-Deja-AN: 645547574 References: <396B5CD0.14003247@email.sps.mot.com> <009ECECE.48036840@SendSpamHere.ORG> Organization: Biology Division, Caltech, Pasadena CA 91125 Reply-To: mathog@seqaxp.bio.caltech.edu Newsgroups: comp.sys.dec 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! 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