delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/18/16:32:09

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: <3BA7ADE6.3080109@ece.gatech.edu>
Date: Tue, 18 Sep 2001 16:26:14 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010713
X-Accept-Language: en-us
MIME-Version: 1.0
To: Mark Paulus <commpg AT yahoo DOT com>
CC: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: What's Diff between shared lib (.so) and .dll???
References: <200109181953 DOT f8IJrCkp005781 AT mail DOT ee DOT gatech DOT edu>

Mark Paulus wrote:

> I've been trying to work out this example of how to 
> make makefiles and shared library modules that are at least slightly
> portable between linux and cygwin.  But, I'm having some 
> difficulty.
> 


they are different.  To learn how to build DLLs using cygwin tools, see 
http://www.neuro.gatech.edu/users/cwilson/cygutils/V1.1/dll-stuff/

Note that there seems to be a cygwin-related problem that is tickled by 
the C example, but the C++ and Fortran examples work fine.

The cygwin bug is in 1.3.3-2 and is heap related; the person who 
reported it to me is researching it (I seem to remember something about 
heap errors in the archives)...more info to come...

src/dllhelpers-0.2.7/ $ ./usedll.exe
m.AllocationBase 0x0, m.BaseAddress 0x614E0000, m.RegionSize 0x20000, 
m.State 0x10000
D:\cygwin\usr\local\src\dllhelpers-0.2.7\c\usedll.exe: *** Couldn't 
reserve space for cygwin's heap (0x614E0000 <0x460000>) in child, Win32 
error 487

--Chuck




--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019