Xref: news2.mv.net comp.os.msdos.djgpp:6512 From: iNFiK Newsgroups: comp.os.msdos.djgpp Subject: Re: Can't find stdio.h Date: Fri, 26 Jul 1996 20:06:50 -0700 Organization: Daemonics Lines: 31 Message-ID: <31F987CA.3445@ix.netcom.com> References: <9607251942 DOT AA00168 AT noteserv DOT osi DOT com DOT osi DOT COM> NNTP-Posting-Host: srf-ca3-09.ix.netcom.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Edward A Markiewicz/OSI DJ-Gateway: from newsgroup comp.os.msdos.djgpp Edward A Markiewicz/OSI wrote: > > I just finished loading DJGPP on the office PC, and tried to compile a very > simple c program to see if everything was installed correctly. I got the > following error: > > samp.c:3: stdio.h: No such file or directory (ENDENT) > > I then went to the FAQ document and went through section 8. I had already > added the following lines to the autoexec.bat file: > set DJGPP=C:\DJGPP\DJGPP.ENV > set PATH=C:\DJGPP\BIN;(...other directories...) > > I have reloaded the DJGPP.ENV file > I have increased the 'FILE=' from 30 to 40 in CONFIG.SYS > The directory is NOT on a networked drive > And I did not use the '-B'switch. > > Now I am running windows, and use a DOS shell to try the compile when it > fails. I have not tried it in just DOS, (before bringing windows up). I will > give that a shot once the PC is free. > > Any suggestions would be greatly appreciated. > > Ed. go into your /djgpp/bin directory and type setdjgpp c:\djgpp c:/djgpp (note the slashes) ... if the program won't compile, go into the include directory (heh.. i think) and re-compile the program (gcc c:\djgpp\src\samp.c -o samp.exe) make sure the bin directory is in your path.