This is the mail archive of the cygwin 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]
Other format: [Raw text]

RE: How change libtool rule of naming dlls from "cygFOO-version.dll" to "FOO.dll"?


At 01:44 AM 12/22/2004, you wrote:
>> -----Original Message-----
>> From: Larry Hall [mailto:lh-no-personal-replies-please@cygwin.com] 
>> 
>> Chaos.  
>> 
>> Windows does not support loading of DLLs through links.
>
>Thanks Larry, another validation of my distrust of windoze :-)


OK, well then I guess I should do a little work to dispel some of your
distrust. :-)

After rereading this thread, I realize I'm wrong about this. :-(  When I
originally read the comment about linking, I thought "symbolic link", which 
is done so often with .so's on Linux/Unix.  That won't work because the 
Windows loader will not load DLLs through Cygwin's symbolic links.  However,
the original response did not include the '-s' flag for 'ln'.  Without it,
you get a "hard link" on NTFS formatted partitions and a copy everywhere 
else.  Windows will load either of these as a DLL (no surprise in the second
case at least ;-) ).

Sorry for the confusion (mine and that which I caused).


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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