Mail Archives: djgpp/1999/05/09/05:03:20
On Thu, 6 May 1999, Tokihiro Funakoshi wrote:
> Well the error was that every time there is an include command e.g.:
> #include <stdio.h>
> The computer states the filename which the command is in, followed by a
> colon, followed by the line which the command is in, followed by another
> colon, then says "No such file or directory <ENOENT>"
This is covered by section 8.1 of the DJGPP FAQ list (v2/faq211b.zip
from the same place you get DJGPP). The most probable cause of such
problems is that you didn't set the DJGPP environment variable
correctly.
Add -v to the compilation command line and watch the include path
printed by the compiler; you should see the `include' subdirectory of
your DJGPP main directory there. If you don't see it, check the
setting of the DJGPP variable in the environment, as the FAQ explains.
- Raw text -