Date: Wed, 5 Mar 1997 16:58:05 +0200 (IST) From: Eli Zaretskii To: "J. van Eijnsbergen" cc: djgpp AT delorie DOT com Subject: Re: Compile ??? In-Reply-To: <331DED00.16D9@worldonline.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 5 Mar 1997, J. van Eijnsbergen wrote: > When I want to compile the folowing (simple c-code) gcc.exe returns an > error: > The program is test.c and is located in C:\DJGPP\PROG\ > So I run : C:\DJGPP\PROG\gcc test.c (from pain DOS 6.22) > gcc returns: C:\DJGPP\PROG\test.c:1: stdio.h: No such file or directory > (ENOENT) > > What am I doing wrong? > SET DJGPP =C:\DJGPP\DJGPP.ENV ^^^ Delete these excess blanks (or TAB)! You define a variable ``DJGPP '' (with the blanks or TAB as part of the name) instead of ``DJGPP''. This is explained in the DJGPP FAQ list (available as v2/faq210b.zip from the same place you get DJGPP), section 8.1.