delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/04/06:39:13

Date: Wed, 4 Dec 1996 13:23:51 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Mind Ventures <mventure AT io DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Newbie Link Problem - Not in faq
In-Reply-To: <5832ip$al5@nntp-2.io.com>
Message-ID: <Pine.SUN.3.91.961204131514.6584B-100000@is>
MIME-Version: 1.0

On 4 Dec 1996, Mind Ventures wrote:

> When I try to compile programs with gcc or gxx I get an error
> message that says...
> 
> c:/djgpp/bin\ld.exe: cannot open linker script file djgpp.lnk: No such
> file or directory (ENOENT)

Did you install RSXNTDJ?  If so, it is the culprit.  It replaces some of 
the files that come with DJGPP with its customized versions, which still 
look for djgpp.lnk from DJGPP v2.0, whereas DJGPP v2.01 has renamed that 
file into djgpp.djl.  I don't know exactly which files does RSXNTDJ 
overwrite (I don't use RSXNT), but my first guess would be lib/specs.

The easiest way to work around this problem is to copy lib/djgpp.djl into 
lib/djgpp.lnk.  I'm not sure that this will solve all of your problems 
since RSXNTDJ overwrites those files for a reason.  The real solution is 
to make RSXNTDJ compatible with DJGPP v2.01, which is not.  I suggest you 
write to the author of RSXNT and ask him to upgrade the package.  You 
might also look at the original lib/specs and the one which came with 
RSXNT and correct the original one so it fits both RSXNT and DJGPP v2.01, 
but that will require you to understand what's going on inside lib/specs 
(you can ask here if you'd like to go for it).

If you didn't install RSXNTDJ, you might have installed some other 
package (Allegro?) which does the same and is also not fully compatible 
with DJGPP v2.01.

- Raw text -


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