I encountered some problems compiling the release-21-4 branch. In
particular, gcc 3.3.1 (cygwin) didn't like the line breaks within a
string in sheap.c. Here is what I did to get it to compile.
--- sheap.c~ 2001-04-12 14:24:19.000000000 -0400
+++ sheap.c 2004-01-30 10:28:56.500432000 -0500
@@ -82,16 +82,16 @@
{
printf(
-"\nRequested %d bytes, static heap exhausted! base is %p, current ptr
-is %p. You have exhausted the static heap.
-
-If you are simply trying to compile, remove sheap-adjust.h
-and recompile from the top level. If this doesn't
-work then STATIC_HEAP_SLOP (defined in this file) is too small.
-
-If you want to run temacs, change SHEAP_ADJUSTMENT in sheap-adjust.h
-to 0 or a +ve number. Generally you should *not* try to run temacs
-with a static heap, you should dump first.\n", size,
+"\nRequested %d bytes, static heap exhausted! base is %p, current ptr\n"
+"is %p. You have exhausted the static heap.\n "
+"\n"
+"If you are simply trying to compile, remove sheap-adjust.h\n"
+"and recompile from the top level. If this doesn't\n"
+"work then STATIC_HEAP_SLOP (defined in this file) is too small.\n"
+"\n"
+"If you want to run temacs, change SHEAP_ADJUSTMENT in sheap-adjust.h\n"
+"to 0 or a +ve number. Generally you should *not* try to run temacs\n"
+"with a static heap, you should dump first.\n", size,
static_heap_base, static_heap_ptr);
exit(-1);
Even with this change, I didn't get temacs to dump xemacs. Removing
sheap-adjust.h didn't help. I gave up on this and tried --pdump, which
worked the first time.
Hope you find this useful.