emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building without Emacs malloc, possible?


From: Jan Djärv
Subject: Re: Building without Emacs malloc, possible?
Date: Fri, 23 Feb 2007 07:38:05 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20070103)

Stefan Monnier skrev:
>> What is the status of building without Emac malloc?  There are some problems
>> on cygwin + Gtk.  Basically Gtk+ (glib actually) calls memalign, but on
>> cygwin this does not call the Emacs supplied memalign, but cygwins own.
>> Since malloc is the one Emacs has, cygwin memalign refuses to work.  I don't
>> know why the Emace memalign is not called, dynamic libraries on W32 seems to
>> behave strange in this regard.
> 
> BTW, isn't the problem that Emacs uses `posix_memalign' because it's found
> in libc, even though its own malloc doesn't provide it?

I've been told that it is not in the cygwin libc, except for newer snapshots.
 I've stepped in the glib code with gdb, and memalign is indeed called.

        Jan D.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]