delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/30/03:16:29

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 768443860C3D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1593501340;
bh=8du4Gacp0dpXzb6fRtBOqzZTl8SGczb5AgWNUBLYjoc=;
h=To:References:In-Reply-To:Subject:Date:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=QWLZemqQtXPD7ZP7H2V99IXFd/h1hC7G7QvRY3VhztBWgZez+Za0QrhSQk4v6xYYr
hA6uAPV5V6qUPY9YAuqNK7MZ/DwuH0wASBbHPGRQ4fS/Xst+baAATUrsfmEHtIJRKh
9wMJctB69/hoaZ2fUzHQwrMQmfAI7ApN/lnwDOFc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0760B3858D37
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:to:references:in-reply-to:subject:date
:message-id:mime-version:content-transfer-encoding:content-language
:thread-index;
bh=u2WQk7BG/rBkdZ5DgFMk/x0kvkBJNGwKYHtIVR5O/W4=;
b=j0cMBTn8IZtyc9wmGN/pkaz/BPftJCBcTgOiCRkD73xMD6/sJdgRRoLTbPVaP3gwK1
3TJanNmEK+4Riw0xBudszxeG/kYoig+wPzRs9Gg/6TEAztXQXSLdFhPiCnWQyhvKp3aC
WBdOYjFYupLPIzoahSH0POfpoiIL70vrwxpZukki60PZ4fZ58lbLvijb0cJKKTRlxiUB
DEmWtczUbi3A44Pvw9UV9u6gP/XXyaudqw6OICnv78mmhgQ1Rhx4BtAO+RQlbx7Xj/Kq
TQihHDu8RpgrEzx/Io0xwiTyF5WFGMcfpTCHBOt46zyVcP8OlM9iRl44hSfBHfUF6l3a
vndQ==
X-Gm-Message-State: AOAM532D2DcD3ICckT29TrV8WPi/D8qqMcIoFrHCRobnAviGLtmgQsty
2m9V6p33cZMb1O+vLInZNqIicbmo
X-Google-Smtp-Source: ABdhPJyc0bbPfFIDO9yNYYSpv83lLYyE8ybk3jWTzRtZDceZ6EI3XU9vqp4RLDqBgSNW9rlxXMrN+A==
X-Received: by 2002:a2e:8751:: with SMTP id q17mr4511628ljj.268.1593501334787;
Tue, 30 Jun 2020 00:15:34 -0700 (PDT)
To: <cygwin AT cygwin DOT com>
References: <00a401d64b9c$9958e6d0$cc0ab470$@gmail.com>
<56b93fc2-1a64-4d53-5ce5-5038b263d251 AT SystematicSw DOT ab DOT ca>
In-Reply-To: <56b93fc2-1a64-4d53-5ce5-5038b263d251@SystematicSw.ab.ca>
Subject: Sv: Using cygwin-dll with msvc-exe
Date: Tue, 30 Jun 2020 09:15:33 +0200
Message-ID: <000801d64eae$3ed3eb00$bc7bc100$@gmail.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQENcs5VMN0I/jATKmjvNn0PVV6wogG81gZCqnSNc6A=
X-Spam-Status: No, score=-3.0 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.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
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: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Kristian Ivarsson via Cygwin <cygwin AT cygwin DOT com>
Reply-To: sten DOT kristian DOT ivarsson AT gmail DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

[snip]

> They have incompatible internal startup and runtime environments including
> stuff like initialization, signal, and exit function handling
> (cygwin/newlib/gcc vs
> Windows/APIs/VC) although Cygwin can build Windows-loadable dlls and
> Windows-runnable exes and call Windows (system) dlls that don't depend on
> msvcrt.


What is interesting is that ldd on cygwin1.dll says it depends on
msvcrt.dll, but that might not be a problem ?

It seems like you could somehow fix it with this trick
https://cygwin.com/faq/faq.html#faq.programming.msvs-mingw (though I don't
really understand what difference it would make, because something seems to
be missing in the explanation (or more probably there's something I don't
understand;-) and it seems to be a bit cumbersome as well if you're having a
large product with a long lifetime)

In my honest opinion I think this disability to use cygwin-libraries from
windows-applications kind of limits some of cygwins purpose, but I do still
think cygwin is a great open source project ;-)


Best regards,
Kristian

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