Mail Archives: djgpp/1996/02/25/10:14:32
At 09:19 AM 2/25/96 +0200, Eli Zaretskii wrote:
>
>On Sat, 24 Feb 1996, Ian Viemeister wrote:
>
>> At 07:23 PM 2/23/96 -0500, DJ Delorie wrote:
>> >Try renaming the file and modifying lib/specs to match.
>>
>> Ok, this probably should be in the FAQ - when using Win95,
>> (which treats *.lnk as shortcuts), ld has the possiblity
>> of failing when trying to access lib/djgpp.lnk Changing the
>> name of djgpp.lnk to djgpp.ld and changing the reference to
>> djgpp.lnk in lib/specs to djgpp.ld solves this problem.
>
>Please elaborate. What are those ``shortcuts'' and how does this special
>treatment they get from Win95 interfere with DJGPP linker?
>
In Win95, a Shortcut is a very pale imitation of a symbolic link.
The UI creates the file xxxxxx.lnk when it it told to create a
shortcut, and then it 1) hides the extension and 2) treats the
xxxxxxx.lnk as a reference to what it points to e.g., you can cd
into a shortcut that represents a directory, and open a document
that is pointed to by a shortcut.
The only problem is that ld uses 'djgpp.lnk', and Win95 seems to
try to interpret the contents whenever it is accessed.
Ian
vmeister AT ios DOT com
http://ios.com/~vmeister/
- Raw text -