Mail Archives: djgpp/2001/03/30/11:17:11
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
- Raw text -