From: Charles Terry Newsgroups: comp.os.msdos.djgpp Subject: Re: Permission Denied? Date: Fri, 17 Apr 1998 07:12:31 -0700 Organization: All USENET -- http://www.Supernews.com Lines: 23 Message-ID: <3537634F.2AA@plinet.com> References: <199804161937 DOT MAA26558 AT geocities DOT com> NNTP-Posting-Host: 17814 AT 207 DOT 174 DOT 3 DOT 110 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > > I use the command > gcc c:\pfile\c\wrtmore.c -include c:\pfile\djgpp\include > to compile the program > gcc -o c:\pfile\wrtmore.exe c:\pfile\c\wrtmore.c -I c:\pfile\djgpp\include This command should do it but I'd point out that if your evironment includes DJGPP=c:\pfile\djgpp - which i assume is your install directory? you don't have to specify the main include directory at the command line. Also when you use the above commandline if you cd to your c:\pfile\c directory before you compile then the command gcc -o wrtmore.exe wrtmore.c is all you need. Charles Terry