delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-Id: | <4.2.0.58.20010304135101.01e70f10@pop.dnai.com> |
X-Sender: | jakmang AT pop DOT dnai DOT com |
X-Mailer: | QUALCOMM Windows Eudora Pro Version 4.2.0.58 |
Date: | Sun, 04 Mar 2001 13:54:09 -0800 |
To: | cygwin AT cygwin DOT com |
From: | Jak Mang <jakmang AT dnai DOT com> |
Subject: | Re: Heap init problems |
Mime-Version: | 1.0 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |