This is the mail archive of the
cygwin-apps@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Shared vs Static [WAS: Re: [general] some ideas & request for comments (LONG)]
- To: earnie_boyd at yahoo dot com
- Subject: Re: Shared vs Static [WAS: Re: [general] some ideas & request for comments (LONG)]
- From: "Charles S. Wilson" <cwilson at ece dot gatech dot edu>
- Date: Wed, 17 May 2000 09:51:55 -0400
- CC: Michael Ring <m dot ring at ndh dot net>, cygwin-apps at sourceware dot cygnus dot com
- References: <20000517121917.18561.qmail@web106.yahoomail.com>
Earnie Boyd wrote:
>
> --- Charles Wilson <cwilson@ece.gatech.edu> wrote:
> -8<-
> >
> > NOTE: Are you suggesting, Earnie, that binutils be further hacked to
> > search for the following in the '-Bdynamic' case:
> >
> > 'libfoo.dll' 'libfoo.dll.a' (and 'foo.dll' and 'foo.dll.a' for
> > consistency), and THEN as an absolutely last fallback, 'libfoo.a'
Amend: (1) foo.dll.a
(2) libfoo.dll.a
(3) foo.dll
(4) libfoo.dll
(5) libfoo.a
> >
> > In '-Bstatic', you'd only look for 'libfoo.a' of course.
> >
>
> No, but it's not a bad idea.
What disturbs me about it, is that we'd be deciding, for ALL i386pe
platforms, that dll import libraries MUST be named *.dll.a or *-import.a
(which won't work on djgpp because of the one-extension-only/8.3 problem
-- but is that an issue? Does djgpp support dll's?)
Standardization is good, but are we the people to decide that, for all
other i386pe platforms?
> 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