State of the DLL, mark 2?

Christopher Faylor
Tue Mar 20 07:16:00 GMT 2001

On Tue, Mar 20, 2001 at 05:24:51PM +0300, Egor Duda wrote:
>Date: Tue, 20 Mar 2001 17:24:51 +0300
>From: Egor Duda <>
>Reply-To: Egor Duda <>
>Organization: DEO
>To: Christopher Faylor <>
>Subject: Re: State of the DLL, mark 2?
>In-reply-To: < >
>Tuesday, 20 March, 2001 Christopher Faylor wrote:
>CF> Btw, there are a lot of extra cruft that needs to be done to get this
>CF> working.  I am attaching a malloc object file that you can use.
>ah, that's where malloc_dbg() coming from.
>CF>    I  think  you  also  have  to  remove all malloc functions from
>CF> newlib's libc.a.
>can  you  give a little hint here? should i strip appropriate sections
>from libc.a or it's better to build newlib with -DMALLOC_PROVIDED ?

When I last did this, I removed all of the functions from libc.a with
ar.  I didn't know about -DMALLOC_PROVIDED.  It would probably work, though.


More information about the Cygwin-developers mailing list