delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/21/07:35:46

Date: Tue, 21 May 1996 14:30:27 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Keith F. Lynch" <kfl AT access2 DOT digex DOT net>
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: <Pine.SUN.3.91.960521142338.14153F-100000@is>
Mime-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019