delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/05/20/20:33:20

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2BD83398042A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1621557196;
bh=k5OvaT3qt8lmBamI2/mYLF98m6OjQtwmRuRFK7N0q9g=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=TrV/zNfHVRafcEcCIJh/vCxjMgVmvgDE7psbk1ApNi1mDNqZpQOapDE/oMT8SZSZL
xrvwpQ+8heZe6d0GxITAFpfSIRc9Jh7IiuEZXXtWcmPsRclztQlhfr4XLoX6Kxwfpc
kNyMOk/oiXz4potUIWGqzvZ40KaLW8sCczeSr5OM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 455333858001
X-Authority-Analysis: v=2.4 cv=fPVaYbWe c=1 sm=1 tr=0 ts=60a6ffc6
a=95A0EdhkF1LMGt25d7h1IQ==:117 a=95A0EdhkF1LMGt25d7h1IQ==:17
a=IkcTkHD0fZMA:10 a=SMorJkV_YP8A:10 a=5FLXtPjwQuUA:10
a=Xw1Rc264cTQFhMGIdwgA:9 a=QEXdDO2ut3YA:10 a=pHzHmUro8NiASowvMSCR:22
a=n87TN5wuljxrRezIQYnT:22
To: cygwin AT cygwin DOT com
Subject: Building resource-only DLL under Cygwin.
X-PHP-Originating-Script: 501:rcmail.php
MIME-Version: 1.0
Date: Thu, 20 May 2021 17:33:08 -0700
Message-ID: <3ca48702525e10e74147067d20bd4532@mail.kylheku.com>
X-Sender: kaz AT kylheku DOT com
User-Agent: Roundcube Webmail/0.9.2
X-CMAE-Envelope: MS4xfIP5yuBF/nwcHLc4c/zJgJL2nd0qmBAufkD3URcdtsXm4x/m1iPPfBWdQ/ciP678AMnflKn5w8o6JXnKvzWE0KVgwSJDtszYRp9kWMH3mFAB/1g2Byjb
X+IZgC12rTgxODFBdwT0+kpxBZG9qqDDkEe2K2VVnY9W88iBvTiBc3Zpjz5TpNOurhpA9pV4MMBAQA==
X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
RCVD_IN_DNSWL_LOW, 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: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Kaz Kylheku via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Kaz Kylheku <kaz AT kylheku DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Hi all!

I was just wondering; have any of you ever tried to build a 
resource-only DLL using the Cygwin toolchain environment?

I mean, starting with a .rc file, build a .res, and then link it into a 
working resource-only DLL?

I know that adding resources to executables is perfectly possible; I'm 
specifically asking about resource-only DLLs.

If you use Microsoft's tools, you must specify the /NOENTRY linker 
option to indicate that the object has no DllMain.

Can we do the analog of this with the GNU-based toolchain on Cygwin?

Thanks.

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