www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/05/19:50:01

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: help me please.
Date: Tue, 05 Nov 1996 18:50:59 -0800
Organization: Three pounds of chaos and a pinch of salt
Lines: 47
Message-ID: <327FFD13.520C@cs.com>
References: <9611051735 DOT aa19529 AT ailin DOT inti DOT edu DOT ar>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp211.cs.com
Mime-Version: 1.0
CC: ainop.com!vikram!feller, tehmul%NIITPUN AT iris DOT ernet DOT in
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Salvador Eduardo Tropea (SET) wrote:
> 
> > feller AT VIKRAM (eidolon) {vikram!feller AT ainop DOT com} wrote:
> >>> i am getting the error message c:/djgpp/bin\ld.exe: cannot open linker
> >>> script file djgpp.lnk: No such file or directory (ENOENT) when i try to
> >>> compile with gcc. i have unzipped all the basic files. why is this
> >>> happening?
> >Because the file is called djgpp.djl!!  I too had the same problem.  In
> >the LIB directory, copy the file DJGPP.DJL to DJGPP.LNK.  Oh yeah, DONT
> >rename this file if you intend to run the DJtest programs, they refer to this
> >file as djgpp.djl.  If you don't have the test programs, go ahead and rename
> >it instead.
> 
>   Hmmmm... seems to be bad ... seems that they are messing DJGPP versions, can
> somebody clarify that!

The most likely cause is downloading just the binutils from the new
DJGPP version, but not the complete dj*201 distributions.  All the old
v2.00 files were recompiled with v2.01, so this may be the cause of the
error.  For maximum compatibility, you should make sure to update ALL
the packages you use.

Strangely, I just examined my /lib directory and manifests, and both the
new 'djgpp.djl' file and the 'specs' file which references it are
contained in the same package, so I don't see how this error can be
occurring unless you seriously messed something up in your installation
process.  Eli?  DJ?  What could be the problem here?

Try unzipping 'djdev201.zip' again and see if that solves your problem.

FYI, the reason the name was changed from djgpp.lnk to djgpp.djl was
that the '.lnk' extension was being confused by Windows 95 with its own
link files, causing it to be overwritten with garbage that 'ld' couldn't
understand.  Renaming it to djgpp.djl fixes this problem.  It is an
extremely bad idea to reverse this change, as it _should_ cause v2.01
compilation to fail...

If all else fails, try posting us details of your system configuration
as outlined in the FAQ section 6.12, AND the contents of your
djgpp/manifest directory (type "dir >dir.txt"; post dir.txt).

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I  |        fighteer AT cs DOT com         |
| Plan:  To find ANYONE willing to |   http://www.cs.com/fighteer   |
| play Descent 2 on DWANGO!        | Tagline: <this space for rent> |
---------------------------------------------------------------------

- Raw text -


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