X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 84CE53857344
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1695137101;
	bh=janCvY7fd3HDL2IUvUMiNA08O/o/qx/Unlt5XLwcbOc=;
	h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=gZT825hPhQj7CEJSKsi//gdSiqRgjiIF2keNOy/iFGVFgEqjMbdDYpnq/tNXFrfYZ
	 +1O7Gl55XhPRbLBtzZHjevP7lJ+pyJoNznhucnFfLNOUD5gsl9TqYODfz131VXjOw3
	 rfL1Z0eRsl/XPQ9B+0VY5emnyPDEsj8f3Jfu2ZLw=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E0B473858C1F
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Message-ID: <b6d9c9d9-63ae-7238-cd77-6f3de051eb5d@gmx.at>
Date: Tue, 19 Sep 2023 17:24:22 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:102.0)
 Gecko/20100101 Thunderbird/102.15.1
To: cygwin@cygwin.com
Subject: Question on statically linking with cygwin
X-Provags-ID: V03:K1:WGhBgA0PpMR4R8atK3m4f+d6dryvoUqXeuDJmB9WLkiVUzVlzS5
 iqKyUWsEASslpoRhlqbgwH343fCBkFHo/wHHjKvFs8jHtknZTa3obb/gAVY+vFGl0ahldmQ
 ZApbloOT5axd9d9bGIqPcBv1oYizy4d/0TkLLQATamcw3UZMS3F/0c4i3kOcfWjcsb6vj1h
 8Z0zpmiecfNDwWZnS1vAg==
UI-OutboundReport: notjunk:1;M01:P0:DW41xhBFVSo=;ZMtI9zdPuBReJbUmPNVELcpgYFw
 YOqRpuNfWn+isXpm9rnMFBKThT9Lw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N_DNSWL_LOW,
 RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Johannes Thoma via Cygwin <cygwin@cygwin.com>
Reply-To: Johannes Thoma <johannes.thoma@gmx.at>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 38JFP38E012036

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

Thanks for any insights on that topic,

  Best regards,

- Johannes

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

