Mail Archives: djgpp/1997/03/05/10:17:42
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.
- Raw text -