From: beer god Newsgroups: comp.os.msdos.djgpp Subject: Re: getting started Date: Tue, 24 Nov 1998 18:25:56 -0500 Organization: Toolcity Internet Lines: 17 Message-ID: <365B4084.160EA0A6@hotmail.com> References: <73cifb$gqm$1 AT clam DOT niwa DOT cri DOT nz> NNTP-Posting-Host: pppcisco-208.gremlan.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5 [en] (Win95; U) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com to compile c++ programs, you should use gxx program.cpp -o program.exe that should fix it. Richard Pett wrote: > I have just downloaded and started using djgpp and I have a few questions, I > hope none of them seem to obvious, but I'm new to this so they might be. > First of all, although I seem to be able to compile straight 'C' programs > without problems, I am having trouble compiling C++ files. When I run gcc, > I get the following message 'cannot exec cc1plus...' I do have cc1plus.exe, > it was unzipped to lib\gcc-lib\djgpp\2.81\ Is this where it is supposed to > be? > > My second question is completely unrelated, I am trying to write a front-end > for a program but I do not know how to run one dos program from within my > 'C' programs, nor how to pass parameters to them. Can anyone help me here?