Message-Id: <199907280218.WAA06509@delorie.com> From: "Dan Gold" To: Subject: Re: HELP! Date: Tue, 26 Jan 1999 10:39:34 -0800 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com 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 > 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!) >