From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Please Help Date: Wed, 25 Feb 1998 22:19:37 -0500 Organization: Two pounds of chaos and a pinch of salt. Lines: 20 Message-ID: <34F4DF49.4BAC@cs.com> References: <34F4938B DOT AE7AC084 AT ameritech DOT net> NNTP-Posting-Host: ppp204.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk S Prasad wrote: > > After running GCC -c first.c (ver 2.x)it compiles, and I come back to > the DOS prompt. Then, I link it with GCC -o first.exe first.c, and it > gives me the error message: > > "ld.exe: cannot open crt0.o: No such file or directory (ENOENT)" Your system is not properly configured to run DJGPP. Make sure that the DJGPP environment variable is set properly (see 'v2/readme.1st' for instructions). Also see chapter 8.1 of the DJGPP Frequently Asked Questions list, where this specific issue is addressed. -- --------------------------------------------------------------------- | John M. Aldrich | "Sex should be friendly. Otherwise | | aka Fighteer I | stick to mechanical toys; it's more | | mailto:fighteer AT cs DOT com | sanitary." | | http://www.cs.com/fighteer | - Lazarus Long | ---------------------------------------------------------------------