From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by sourceware.org (Postfix) with ESMTPS id 0760B3858D37 for ; Tue, 30 Jun 2020 07:15:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0760B3858D37 Received: by mail-lj1-x22e.google.com with SMTP id t25so16638082lji.12 for ; Tue, 30 Jun 2020 00:15:36 -0700 (PDT) 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) Received: from JOKK (87-249-176-245.ljusnet.se. [87.249.176.245]) by smtp.gmail.com with ESMTPSA id a22sm487705lfg.96.2020.06.30.00.15.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jun 2020 00:15:34 -0700 (PDT) From: To: References: <00a401d64b9c$9958e6d0$cc0ab470$@gmail.com> <56b93fc2-1a64-4d53-5ce5-5038b263d251@SystematicSw.ab.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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Content-Language: en-gb 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2020 07:15:38 -0000 [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