On 4/14/07, Oleg Kobchenko <[EMAIL PROTECTED]> wrote:
In the Windows example, the compiler is one.
For Unix, I can believe that malloc uses the same heap
only in case of dynamically linked libc. But the assumption
in the example was that C runtime is linked statically.
I am trying to understand how this could happen.
It seems to me that if malloc/free are weak symbols, that
alternative definitions linked in later would override them.
Alternatively, if malloc/free are strong symbols, it seems to
me that you would get a linking error if you tried to link in
alternative definitions.
What am I missing?
Thanks,
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm