Re: Linking with nonstandard malloc

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

 



Amittai Aviram <amittai.aviram@xxxxxxxx> writes:

> Suppose I want to use my own malloc.c and malloc.h for malloc and
> related functions (based on Doug Lea's code), but use the standard C
> library (glibc) for all other C library functions.  Is there a way
> that I can tell the gcc linker to use my malloc code but glibc for
> everything else?  Thanks!

It should just work.  If it doesn't, you're going to have to explain
more clearly precisely what you are doing and precisely what is going
wrong.

That said, note that glibc already uses Doug Lea's malloc.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux