delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/09/22/01:54:39

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: <b6d9c9d9-63ae-7238-cd77-6f3de051eb5d AT gmx DOT at>
In-Reply-To: <b6d9c9d9-63ae-7238-cd77-6f3de051eb5d@gmx.at>
Date: Fri, 22 Sep 2023 07:54:12 +0200
Message-ID: <CANH4o6NP+ag1HNPPoqkWAZw0KK2Fnc22_4vt1m2QgByhr5Pb0w@mail.gmail.com>
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 <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Martin Wege via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Martin Wege <martin DOT l DOT wege AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
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
<cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019