On Tue, Sep 19, 2023 at 5:24 PM Johannes Thoma via Cygwin <cygwin@cygwin.com> wrote: > > Hi, > > As I understood the reason for not being able to statically link > the cygwin1.dll in to a binary and distribute that is because of > licensing issues.
Do you have any references for that? > Are there any technical issues that would make > it impossible to link with cygwin statically? > > The reason I am asking is I am working on a GPL project > (WinDRBD: https://github.com/LINBIT/windrbd) and am currently > delivering the cygwin1.dll along with the binary. It would be > desireable to have the cygwin1.dll statically linked (for example > to avoid version clashes) instead. Is that technically possible? > If necessary I am ready to compile cygwin (at least the needed > files) on my own. Interesting. But how (from a developers perspective) do you link cygwin1.dll statically into a binary? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple