Date: Tue, 11 Nov 1997 16:57:31 +0200 (IST) From: Eli Zaretskii To: odin cc: djgpp AT delorie DOT com Subject: Re: help please In-Reply-To: <01bced4f$f76c4b00$b16e39cb@default> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 9 Nov 1997, odin wrote: > I have just installed djgpp and done the little hello.c example but when i > type 'gcc -v hello.c -o hello.exe' a heap of stuff comes up ending with an > error. > _________ > cpp -lang-c -v blah blah blah blah blah blah blah... You should *never* omit that ``blah blah'' if you want your problems solved efficiently. What gcc prints under -v includes crucial info that is a great help in guessing what's wrong with your installation. > #include "..." search starts here: > #include <...> search starts here: > /usr/local/include > usr/local/go32/include > usr/local/lib/gcc-lib/go32/2.7.2.1/include > usr/include > end of search list. > hello.c:1: stdio.h: No such file or directory (ENOENT) I'd guess that you have set the DJGPP variable incorrectly. Please type "set > env.lst" from the DOS prompt and post here the contents of file `env.lst' thus created. You might also consider reading section 8.1 of the DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP) which discusses some frequent causes for such problems.