From: Hyper Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP! Date: Wed, 28 Jul 1999 04:42:47 -0400 Organization: None, very disorganized Lines: 26 Message-ID: <379EC287.14DADC07@snip.net> References: NNTP-Posting-Host: harc2a106.snip.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.61 [en] (Win98; I) 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 Eli Zaretskii wrote: > > On Tue, 27 Jul 1999, Donna Gula wrote: > > > Hey, I'm a beginner with C++ and DJGPP and whenever I try to compile a > > program, it says "Bad command or file name" and I have the extension > > ".cpp" or ".C" > > My first guess would be that you didn't install the C++ compiler from > the gpp281b.zip archive. Look into your DJGPP tree and see if you > have a program called cc1plus.exe there; if not, unzip gpp281b.zip. > > If the above doesn't help, add -v to the compilation command line and > see what program does the compiler try to invoke immediately before > the "Bad comamnd or file name" message--this is the missing one. there is also a possibility that the compiler isn't in his path, so when he types like gcc mysource.c -o myprog.exe it gives him a bad command or file name error. just a wild guess here, oh and i'm new to the group, hi all! -- My heart goes out to the families of Gene Hart and Dimitri Tertyshny Who both died tragically during the month of July, in two seperate instances May both of your souls rest in peace Personal page -- http://members.xoom.com/Hyper_Hands/