This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: malloc-based ggc-page
On Jan 20, 2000, Richard Henderson <rth@cygnus.com> wrote:
> On Wed, Jan 19, 2000 at 11:25:52PM -0200, Alexandre Oliva wrote:
>> A real problem is that some library calls do use malloc, and then,
>> they'd be using their own malloc.
> No they wouldn't. They'd be using ours. That's what linking is for.
I'm pretty sure there are portability problems here, but I'll take
your word for it. In any case, I don't see the point of using GNU
malloc, if we can do (almost) as well with whatever malloc the
underlying system provides. And then, we wouldn't be allowing the
users of libiberty to choose their own memory management systems.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them