From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.138]) by sourceware.org (Postfix) with ESMTPS id 455333858001 for ; Fri, 21 May 2021 00:33:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 455333858001 Received: from kylheku.com ([70.79.163.252]) by shaw.ca with ESMTPA id jt6ClyBBZ7YjPjt6DlWndU; Thu, 20 May 2021 18:33:10 -0600 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 Received: from www-data by kylheku.com with local (Exim 4.72) (envelope-from ) id 1ljt6C-00057s-Gp for cygwin@cygwin.com; Thu, 20 May 2021 17:33:08 -0700 To: cygwin@cygwin.com Subject: Building resource-only DLL under Cygwin. X-PHP-Originating-Script: 501:rcmail.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Thu, 20 May 2021 17:33:08 -0700 From: Kaz Kylheku Message-ID: <3ca48702525e10e74147067d20bd4532@mail.kylheku.com> X-Sender: kaz@kylheku.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@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: Fri, 21 May 2021 00:33:14 -0000 Hi all! I was just wondering; have any of you ever tried to build a=20 resource-only DLL using the Cygwin toolchain environment? I mean, starting with a .rc file, build a .res, and then link it into a=20 working resource-only DLL? I know that adding resources to executables is perfectly possible; I'm=20 specifically asking about resource-only DLLs. If you use Microsoft's tools, you must specify the /NOENTRY linker=20 option to indicate that the object has no DllMain. Can we do the analog of this with the GNU-based toolchain on Cygwin? Thanks.