Message-ID: <34A7ED39.70D7@binghamton.edu> Date: Mon, 29 Dec 1997 10:34:34 -0800 From: Bob Kematick Reply-To: kmatick AT binghamton DOT edu Organization: Binghamton University MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Gcc can't find crt0.o References: <688agn$cfc$1 AT cadmium DOT aware DOT nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: bing231.net108.binghamton.edu Lines: 23 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Rick wrote: > > Hello, > > I have encountered a strange problem with GCC after I just > installed it. Both from commandline, with Rhide and with > the windows IDE I got the same link-error: > C:\DJGPP\BIN\LD.EXE cannot open crt0.o. No such file or > directory[ENOENT]. > > But the file crt0.o is in C:\DJGPP\LIB! Even when I copy it to > \BIN or \DJGPP the same error is there. FI the LIB variable > is set to \DJGPP\LIB. Why worry about the LIB variable ? Check if the DJGPP environment variable is set. eg: set djgpp=c:\djgpp\djgpp.env Also , c:\djgpp\bin should be on your path.