From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15531 invoked by alias); 23 Jul 2013 14:22:04 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 15522 invoked by uid 89); 23 Jul 2013 14:22:03 -0000 X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 Received: from Unknown (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 23 Jul 2013 14:22:02 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V1dTM-000575-Vp for cygwin@cygwin.com; Tue, 23 Jul 2013 16:21:52 +0200 Received: from c-69-140-37-22.hsd1.md.comcast.net ([69.140.37.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Jul 2013 16:21:52 +0200 Received: from schulman.andrew by c-69-140-37-22.hsd1.md.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Jul 2013 16:21:52 +0200 To: cygwin@cygwin.com From: Andrew Schulman Subject: Re: [PATCH] Fix optional variables in libargp Date: Tue, 23 Jul 2013 15:07:00 -0000 Message-ID: <0a2tu8p6ddvgut5nqgc12292oqtihs9du5@4ax.com> References: <000001ce7e08$2b866830$82933890$%fedin@samsung.com> <4q4ut8had25hqmo8b0752i8asuv6ism2qh@4ax.com> <002901ce7f0a$9da99420$d8fcbc60$%fedin@samsung.com> <002601ce82b7$63229580$2967c080$%fedin@samsung.com> <002a01ce86c6$ba32a190$2e97e4b0$%fedin@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive: encrypt X-SW-Source: 2013-07/txt/msg00482.txt.bz2 > Hello! > I have successfully tested it on i386. Really, just remove PREFIX > completely and it's okay. GetProcAddress() appears to be "clever" and adds > the leading underscope by itself on i386. I don't know what you did wrong > and why you could not reproduce the solution. > However, i have one idea. After patching libargp you need to recompile your > test case. Because it needs to pick up __declspec(dllexport). Sorry, this was my fault. I accidentally mangled your patch when I took PREFIX out. I fixed that, and it works fine in x86 now. So, I'll put a new release out shortly that includes your patch. Nice work, and thank you. Andrew -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple