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: long double support in cygwin



> If your application uses a LGPL'ed shared library, as is the case
> with glibc, you don't need to include sources.

Yes if you mean "sources to your application", no if you mean "sources
to the shared library".  If your app uses a shared library which you
do not distribute, no sources.  If your app uses a shared library
which you *do* distribute, you need to include sources for the shared
library.  If your app statically links that library, you must include
sources *or* objects for your app, *and* sources for the library.

> Or, at least that is my understanding of section 6b of the LGPL.  If
> you have linked in components of the library into your application
> (i.e., cygwin) then you do.

In the case of glibc, linking with it as a shared library does *not*
include glibc in your program.  That is not the case with cygwin,
because part of cygwin *is* linked in with all programs, even though
cygwin1.dll is effectively a shared library for the LGPL.

--
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]