This is the mail archive of the cygwin-apps@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Shared vs Static [WAS: Re: [general] some ideas & request for comments (LONG)]


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]