Date: Tue, 21 May 1996 14:30:27 +0200 (IST) From: Eli Zaretskii To: "Keith F. Lynch" Cc: djgpp AT delorie DOT com Subject: Re: Help, I can't get it up! In-Reply-To: <4nrdfr$f7p@access2.digex.net> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 20 May 1996, Keith F. Lynch wrote: > produced a file test.o. But when I tried linking test.o with > "gcc -o test.exe test.o -lm" it complains that bin/ld can't find > crt0.o. I see that there is a file crt0.o in the lib subdirectory. Check the following gotchas: 1) Did you remember to define the DJGPP environment variable to point to the DJGPP.ENV file in the main DJGPP installation directory? 2) Are you careful not to put excess blanks into that environment variable name? Make sure you have "DJGPP=c:/djgpp/djgpp.env" as opposed to "DJGPP = c:/djgpp/djgpp.env". 3) Does your main DJGPP installation directory reside on a networked drive? If so, that is currently a known bug in DJGPP, and the only workaround is to copy the contrents of lib/ onto a directory on a local drive and add that directory to the LIBRARY_PATH definition on DJGPP.ENV. 4) Are you working under Win95? If so, set LFN=n from the DOS command line before you run any DJGPP program.