Next: Incompatibilities, Previous: Interoperation, Up: Trouble
Certain programs have problems compiling.
#ifdef __STDC__ #define NeedFunctionPrototypes 0 #endif
You can prevent this problem by linking GCC with the GNU malloc (which thus replaces the malloc that comes with the system). GNU malloc is available as a separate package, and also in the file src/gmalloc.c in the GNU Emacs 19 distribution.
If you have installed GNU malloc as a separate library package, use this option when you relink GCC:
MALLOC=/usr/local/lib/libgmalloc.a
Alternatively, if you have compiled gmalloc.c from Emacs 19, copy the object file to gmalloc.o and use this option when you relink GCC:
MALLOC=gmalloc.o