This is the mail archive of the cygwin@sources.redhat.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: AW: DLL naming flamefest


Michael Ring said: 
> I have not (yet) checked your site but I would like to get my hands on a
> pre-compilesd version of gcc & binutils with all needed features included (The
> version you used to build your dll's)
> 
> Are they available ?

No, not yet.  But that's not necessary to build these dll's.  Remember,
the current ld prefers implibs just like the new one will.  Implibs
embded the dll name.  So, you could name the zlib dll
"my-silly-broken-zlib.dll" if you wanted to -- as long as the implib was
named "libz.dll.a" linking will "just work."

The upcoming changes to ld just allow you to link directly to a dll (a)
when you don't have (or can't find) the implib, and (b) the dll is
named, in order of preference, <prefix><name>.dll, lib<name>.dll, or
<name>.dll.

So, you can *use* and *link to* and *build* these new dlls as is,
without the new ld -- because you've got an implib.  Even with the new
ld, you won't be able to link directly to these dlls (even if you delete
the implibs and statlibs so they won't interfere with ld's search) --
because the dlls are stripped.  

I used the stock cygwin distributed binutils and gcc to build all of
these packages.

--Chuck

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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