Frank Heckenbach wrote:
... snip ...
BTW, there were a few compile problems (conflicts with `ulong' and `roundup'; uses `fakesbrk' by default; includes "cokusMT.h" while the zip contains a file `cokusmt.h'; works only on case-insensitive file systems), and some little Makefile problems -- it omits `-lm' (and sets, but doesn't use `CFLAGS', so `-lm' can't be added there), and it adds `.exe' which is at least strange on non-Dos systems; I think even gcc on DJGPP adds it automatically.
You need to compile it with the -DNDEBUG switch, otherwise it uses the fakesbrk etc. for testing and debugging. I believe "make malloc.o" will do it all. It is undergoing revision for added debugging capabilities under DJGPP, not to alter its function.