From: Michelle Davies Newsgroups: comp.os.msdos.djgpp Subject: Re: problem using DJGPP Date: Fri, 26 Dec 1997 02:45:46 -0700 Organization: Arachnet Lines: 51 Message-ID: <34A37CC9.82052AE9@arach.net.au> References: <349B5DFB DOT 7A6A AT chaffee DOT net> NNTP-Posting-Host: redback.arach.net.au Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------40714C20095E57540C4B1BCE" Cache-Post-Path: redback.wadata.net.au!unknown AT ttye13 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk This is a multi-part message in MIME format. --------------40714C20095E57540C4B1BCE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Bryan Hurley wrote: > I have recently downloaded DJGPP but cannot make it work. I have put the > lines Set DJGPP = C:\djgpp\djgpp.env and set path =C:\djgpp\bin; in my > autoexec.bat file as stated in the FAQ but whenever I try to compile a > program I get an error saying it cannot find stdio.h. I know stdio.h is > in the DJGPP directory. Why can't the compiler find it? Can anyone help > me? I had hoped this compiler could help me learn to program in C. > Thanks in advance for any help you can give. > > B.Hurley I have had the same problem and its not to do with spaces in the autoexec.bat and the all the files have been installed in the correct directories and are all present. I know the path is set correctly because i can run gcc from any directory. I think the problem is concerning the path format. I think djgpp cant find the include files because it is looking for /include/stdio.h rather than \include\stdio.h using the dos path structure. If any body knows how i can fix this it would be greatly appreciated. Michelle Davies --------------40714C20095E57540C4B1BCE Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Michelle Davies Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Michelle Davies n: Davies;Michelle email;internet: davies AT arach DOT net DOT au title: Ms x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard --------------40714C20095E57540C4B1BCE--