Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3BA7ADE6.3080109@ece.gatech.edu>
Date: Tue, 18 Sep 2001 16:26:14 -0400
From: Charles Wilson <cwilson@ece.gatech.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@yahoo.com>
CC: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: What's Diff between shared lib (.so) and .dll???
References: <200109181953.f8IJrCkp005781@mail.ee.gatech.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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/

