From: j DOT aldrich6 AT genie DOT com Message-Id: <199607210145.AA064013550@relay1.geis.com> Date: Sun, 21 Jul 96 01:19:00 UTC 0000 To: travismc AT gate DOT net Cc: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Subject: Re: Cannot find Crt0.o Reply to message 8771380 from TRAVISMC AT GATE on 07/20/96 3:31PM >I have just downloaded DJGPP and have so far been unable to link >any program because Crt0.o is never found. Someone suggested I try the >command line redir -e text gcc -v -o test.exe test.c where test.c is >my program, and if it doesn't help to post the file, so here it is: The FAQ version 2.01, section 8.1, answers this exact question. The possible reasons you're having this problem are too many to describe here, but I'll give you a brief rundown: (BTW, I found the section by loading the FAQ into info and typing 's' for search and 'crt0.o' for the search terms. It came up instantaneously.) 1) Make sure the DJGPP environment variable is set correctly, as in set DJGPP=c:/djgpp/djgpp.env (\ or / slashes don't matter, but spacing *does*) 2) Make sure you haven't moved djgpp.env. 3) Make sure you haven't altered djgpp.env. 4) If running under Win95 with LFN's enabled, make sure your DJGPPdirectory's name is not longer than DOS 8+3. (It doesn't look like it, but I'll mention this for completeness.) 5) If running under an older version of Novell, make sure that 'crt0.o' doesn't reside on a network drive. (this problem is described in the FAQ.) 6) Make sure that FILES= in your config.sys file is at least 15. 7) Make sure that you don't use the -B switch with gcc. If _none_ of that works, repost your problem with your complete system configuration (contents of config.sys, autoexec.bat, djgpp.env, output of "set" command, output of "go32-v2" command, output of "gcc -v ...", and whatever else the FAQ recommends under bug reports. :) John