Mail Archives: djgpp/1999/07/27/22:18:17
It depends if you are compiling from Rhide or the DOS prompt. If it is the
DOS prompt I would say you havn't listed the directory of the DJGPP bin
directory so Dos cannot locate the gcc, you should have added SET
DJGPP=C:\DJGPP\DJGPP.ENV and SET PATH=C:\DJGPP\BIN to your autoexec.bat
file. DJGPP directory being the directory name where you unzipped all the
DJGPP files. If it is in Rhide I have no idea. So try setting the path then
compiling with "gcc -c filename.c" or .cpp."
Have you had much experience with DOS?
from Dan Gold
-=-=[CATACOMB ABYSS]=-=-
http://www.geocities.com/SiliconValley/Port/1547/
----------
> From: Donna Gula <gula AT bellsouth DOT net>
> To: djgpp AT delorie DOT com
> Subject: HELP!
> Date: Tuesday, July 27, 1999 4:01 PM
>
> 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" on i hope someone could answer this for me.(it's probably
> something stupid that i did or didn't do and im going to look like a
> retard but please help me!)
>
- Raw text -