Date: Fri, 30 Mar 2001 20:36:19 +0530 (IST) From: Mridul Muralidharan To: michael_cocking AT hotmail DOT com cc: Djgpp mailing list Subject: Re: Help In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 29 Mar 2001, Michael Cocking wrote: > I recently bought a book on C++. The compiler provided was djgpp. I am having problems loadig it. When I try to compile something it gives me this error message. > > C:\djgpp\whos\code>gcc -o ages.o -c -I. -g ages.cc -pedantic-errors -Wparentheses > Bad command or file name > Bad command or file name > Cannot move ages. - No such file or directory > Cannot move ages.exe - No such file or directory > File not found > C:\djgpp\whos\code>cd ..\normal > > Can you help me? By the way ages is the program I'm trying to compile. > Mike > hi, i think that gcc is not in your path variable. your path must contain the djgpp's bin directory , preferably as one of the first directories. what does the command "path" print in your dos prompt ? try the above out and do reply, Mridul Muralidharan S8 Electronics and Communication Regional Engineering College Calicut India ------------------------------------------------------------------------------ If the code and the comments disagree, then both are probably wrong. -- Norm Schryer All generalizations are false, including this one. -- Mark Twain /earth is 98% full ... please delete anyone you can. - fortune