From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP! Date: Sun, 22 Sep 1996 23:45:48 -0700 Organization: Three pounds of chaos and a pinch of salt Lines: 41 Message-ID: <3246321C.592B@cs.com> References: <3245F9C0 DOT 2B16 AT compuserve DOT com> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp228.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: 75231 DOT 3114 AT compuserve DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp The Crystal Dragon wrote: > > I just got DJGPP and installed DJGPP today, and I have a big problem. > When I try to compile a program, GCC cannot find the header files. I've > read the FAQ, and it didn't help. I tried reinstalling and playing with > the DJGPP.ENV, but nothing happened. I installed it to the DJGPP > subdirectory on my c: drive. if you have any idea or need more info, > please either e-mail me or post a reply. This is really frustrating me. The best way to diagnose this [common] problem is to follow the bug report format recommended by the FAQ. Basically, post the following information here on the group: 1) Your CONFIG.SYS and AUTOEXEC.BAT 2) Your environment (type set >environ.lst in DOS and post the result) 3) The output of 'go32-v2' when invoked without arguments 4) The output of gcc when invoked with the '-v' argument in addition to your normal command line. Use the 'redir' program that comes with djgpp to capture the stderr output of gcc as follows: redir -o gcc.lst -eo gcc -v ... 5) The contents of the DJGPP.ENV file pointed to by your DJGPP environment variable. Especially do this if you've modified DJGPP.ENV in any way. The proper area of the FAQ to look in for this sort of problem is section 8.1, which lists the most common kinds of configuration problems. -- John M. Aldrich * Anything that happens, happens. * Anything that, in happening, causes something else to happen, causes something else to happen. * Anything that, in happening, causes itself to happen again, happens again. * It doesn't necessarily do it in chronological order, though. --- Douglas Adams