From: firewind Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP - PLEASE HELP! Date: 1 Oct 1997 02:46:42 GMT Organization: Netcom Lines: 33 Message-ID: <60sdii$foq@dfw-ixnews8.ix.netcom.com> References: <19971001020801 DOT WAA09492 AT ladder02 DOT news DOT aol DOT com> NNTP-Posting-Host: elp-tx2-10.ix.netcom.com Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Halomist wrote: > i can't even compile a simple > program with gcc. > i type "gcc myprog.c -o myprog.exe" > and it tells me that it can't find the various *.h files... > so i moved the stdio.h file from the "includes" directory > to the one gcc is in... and it still doesn' work... > i had to move cwsdpmi.exe and cpp.exe into the same directory as > gcc to get to this point.... did i install the whole thing wrong or what? > someone please help... > thanks. Obviously your setup is incorrect. If you unpacked the ZIP files correctly, 'cwsdpmi.exe' and 'cpp.exe' would -already- have been with 'gcc.exe'. If you are using pkunzip, make sure to stick the '-d' switch in, like: pkunzip -d djdev201.zip To create the directory structure. Second, if your includes are even in the right place, you need to add the line: set DJGPP=C:\DJGPP\DJGPP.ENV somewhere to your AUTOEXEC.BAT file, so that DJGPP can know where to find its files. Note that if you installed DJGPP somewhere else (D:\DJ\ or whatever) then substitute the path accordingly. This is all expressed in the README.1ST file. -- [- firewind -] [- email: firewind AT metroid DOT dyn DOT ml DOT org (home), firewind AT aurdev DOT com (work) -] [- "You're just jealous because the voices talk to -me-." -]