Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Message-Id: <4.2.0.58.20010304135101.01e70f10@pop.dnai.com> X-Sender: jakmang@pop.dnai.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Sun, 04 Mar 2001 13:54:09 -0800 To: cygwin@cygwin.com From: Jak Mang Subject: Re: Heap init problems Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Hello, I believe my DLL was mis-linked. I got the makefile from a colleague of mine and did not see some things that were overriding some changes of mine. Sorry I did not see this before sending out to the group. I found that everything links clean with -mno-cygwin passed on all C++ and C compile lines. At DLL link time I had to add a couple flags to the dllwrap command line: --output-def$(DLLNAME).def --add-stdcall-alias --driver-name g++ -mwindows --target=i386-mingw32 I also added -mno-cygwin to the LD_FLAGS passed to the linker. I removed the extraneous library definitions at the end of the link line. These are all found automatically. Some of my attempts at getting this to work were done prior to upgrading to the cygwin DLL 1.1.8 release. It looks like the mingw code is getting cleaned up in the installation and that a lot of the MINGW_EXTRA examples/requirements are not valid any longer. This does not fully explain why this problem is/was intermittent. -jak Jak Mang 510.543.5160 510.836.4195 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple