Date: Wed, 4 Dec 1996 13:23:51 +0200 (IST) From: Eli Zaretskii To: Mind Ventures 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.