Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 18 Sep 2001 21:58:10 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: [BUG] cygwin-1.3.3-2 -- making auto-import dlls Message-ID: <20010918215810.A11073@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <001901c140ab$c6348300$4b0e4ea8 AT kepri DOT re DOT kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001901c140ab$c6348300$4b0e4ea8@kepri.re.kr> User-Agent: Mutt/1.3.21i On Wed, Sep 19, 2001 at 10:38:24AM +0900, Jong B. Lee wrote: >Attached file is a part of Charles Wilson's dllhelpers-0.2.7 >(originally from Mumit Khan's). This dllhelpers used to be introduced >as an example for those people who ask how to build and use dlls on >cygwin, and its' good. > >It fails to run on cygwin 1.3.3-2 with a heap error. C++/F77 cases >work good. Only C examples fail to execute. This error does not occur >on cygwin-1.3.2-1. Change the DLL load address to be something besides 61500000 and it will work. And, before you respond, let me assure you that I am aware that worked fine in 1.3.2 and I have no intention of trying to fix this in cygwin 1.3.4 or any other release. Change the base address and it will work. You can consider this a permanent limitation of cygwin for the foreseeable future. Thanks for the minimal test case, btw. This allowed me to confirm that what was going on was what I assumed was going on. And now, I have to find the URL for this message since I'll have to answer this at least once a week for the foreseeable future. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/