Message-Id: <199804161937.MAA26558@geocities.com> Comments: Authenticated sender is From: "Phile" To: djgpp AT delorie DOT com Date: Thu, 16 Apr 1998 15:34:49 +0600 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Permission Denied? Precedence: bulk > When I try to compile a simple program with gcc it tells me that my > permission is denied. I know that this is because of the file that is > included when I use the -include statement. It reads > cpp.exe: c:\pfile\djgpp\include: Permission denied (EACCES) Please post the shortest program which triggers this message when compiled. Also, post the command line you use to compile that program. It seems like your command or source are trying to force the preprocessor to open and read c:\pfile\djgpp\include, which is a directory and therefore cannot be read. I use the command gcc c:\pfile\c\wrtmore.c -include c:\pfile\djgpp\include to compile the program #include int main() { printf("This is a line of text to output.\n"); printf("And this is another "); printf("line of text.\n\n"); printf("This is a third line.\n"); return 0; } This is just a simple prog that is supposed to teach c from some tutorial. Help Phile phile AT geocities DOT com