X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 607613857BB3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1695362078; bh=7hXGwpcQm0z4aII3IQ3JuASTRRdjp6cxAFgkCRfaRtk=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=nlH1CSJcu3j3SOFILjbKqcNb0RWyXWCBEoYT7kZV1I83qaMvXHKNMHehtLBDo5MVL 2Xb8cZ7SJWkh676TjQ9eZOCDoQcphRD+VrMSTwDBiRXgVEdi8mAtl3g7zXZ1M3RrDi xfCALJbo5zLUww2TT1UcPmyZpww75k5UoZg+0d9M= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1AA973858C53 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695362063; x=1695966863; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OFxeoK/EfX6vKpc1vvu6eX9tqv7CXLu+YSiX9TCIVUA=; b=K4xzdIo0OJPT5WBwm+7YQVt1hVZgFnZydjt/9P5JjgkNpNeLL2Di8DZmrSUE1rwZxE m5oTEivw9XlkO4vgbI+AgxCpd4l/yCdShsYphsUGQT2fNuvCyxDTKlMhl1VF8i2xzF6b NNHosEwE4NtHMy0TcsZEA146RcwZepsYXwTHfGa8b6JsRYL5UQIgZ6aHiGrE4boDTIZe 8/I7UabbUfJ6ttgyEj1gSay31KPS1gXAysjVIk4gOhhhc6sDDdl0vUe4drD5W23L9oa6 hPPl2lVJaqIoNucB48AduMPF1FSq3EzW6FPTaSKWN8HjVMGXMaKQzUsVjXo9T2Lh4MFZ E4OQ== X-Gm-Message-State: AOJu0YySxjTwIiOmyx4kA6t3thd8MVtSJp720kLXSz681ighCj5h49cN 3opfIpqbS/py91qW1Y1De/KRj/9r8gwxPQt9BR0tXCuw X-Google-Smtp-Source: AGHT+IF2K/2rzg6NE5BV+iLUR4W/ddxuPQGISAxq/XBMLwbvtbYmDvZvqUuXnxFzvwNk9M9cSWj0t63Q2YivqUB8wEc= X-Received: by 2002:a05:6870:4411:b0:1c0:c42f:6db2 with SMTP id u17-20020a056870441100b001c0c42f6db2mr8113457oah.37.1695362063232; Thu, 21 Sep 2023 22:54:23 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 22 Sep 2023 07:54:12 +0200 Message-ID: Subject: Re: Question on statically linking with cygwin To: cygwin AT cygwin DOT com X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, 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 AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Martin Wege via Cygwin Reply-To: Martin Wege Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 38M5sdYu026670 On Tue, Sep 19, 2023 at 5:24 PM Johannes Thoma via Cygwin 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