Date: Tue, 8 Sep 1998 10:19:58 +0300 (IDT) From: Eli Zaretskii To: Dan Davis cc: djgpp AT delorie DOT com Subject: Re: Help, compiling error In-Reply-To: <199809080602.CAA23935@firewall-primary.alphatronix.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 8 Sep 1998, Dan Davis wrote: > Last night I downloaded all the files from Delorie to run the gcc > compiler. I unzipped the files with -d and all the various sub- > directories seemed to be correct. I wrote the simple Hello.c > program and tried to compile it. I did it from the command line. > When I did I got the following error message: > DJGPP\BIN/ld.exe: cannot open crt0.o no such file or directory(ENOENT) Please read section 8.1 of the DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP) which describes several ``popular'' reasons for this problem. > I also had to manually set my include path, as the compiler was searching: > /usr/local/include > /usr/local/go32/include > /usr/local/lib/gcc-lib/go32/2.7.2.1/include > /usr/include This clearly indicates that your DJGPP environment variable isn't set correctly. > I have followed the instructions in readme.1st to the letter. Somewhere along the line, you deviated from what README.1ST says. You need to find out where. I believe the above-mentioned section of the FAQ will help you.