delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2000/05/17/10:46:27

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
list-help: <mailto:cygwin-apps-help AT sourceware DOT cygnus DOT com>
list-post: <mailto:cygwin-apps AT sourceware DOT cygnus DOT com>
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-apps AT sourceware DOT cygnus DOT com
Date: 17 May 2000 14:45:09 +0000
Discarded-X400-MTS-Extensions: (43) (12) (2) (135) (115) (5) (6) (3)
From: "Michael Ring" <Michael DOT Ring AT t-mobil DOT de>
To: "cygwin-apps AT sourceware DOT cygnus DOT com" <cygwin-apps AT sourceware DOT cygnus DOT com>
Subject: Re: Shared vs Static [WAS: Re: [general] some ideas & request for comments (LONG)]
Importance: normal
Autoforwarded: FALSE
Message-Id: <D834ILT3L9IC*@MHS>
Original-Encoded-Information-Types: (1) (0) (10021) (7) (1) (0) (6), (1) (0) (10021) (7) (1) (0) (1)

>> Also, the path for the search for the .dll files
>> could be modified to search in more logical places such as /bin, /usr/bin,
>> /usr/local/bin and the windows system directory so that the symlinks wouldn't
>> be needed.
>
>Ugh. This would just confuse everybody. And I doubt the binutils or gcc
>guys would ever accept a patch of this nature.
>
>--Chuck

I agree to that; Nothing is worse than to find out that you have linked to that
5 years old library that happens to sleep arround somewhere on your machine. 

This gets even worse if you think about the fact that there always could be a
completely different dll in the windows dir that happens to have the same name
as a library I want to link to. My NT-Machine, for example has it's own version
of sendmail.dll in winnt\system32.

Perhaps we should be more strict:

Instead of allowing 

foo.dll.a libfoo.dll.a foo.dll libfoo.dll libfoo.a

we could restrict this to:

libfoo.dll.a libfoo.dll libfoo.a

I checked my machine, there are no NT-Dll's starting with lib-prefix; besides
that things are even more transparent because then using -lfoo has nearly the
same effect as under unix, libs names foo.dll will be ignored.

Till then,

Michael



- Raw text -


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