Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 26 Mar 2003 09:43:39 -0700 Message-Id: <200303261643.h2QGhdUx024950@wolf.cimsoft.com> From: Robert Mecklenburg To: Cygwin Users List Subject: trying to compile emacs under cygwin I'm trying to compile emacs under cygwin to debug the hanging problems I'm experiencing and I've run into a minor wall. Running emacs-21.2.install yields the error: Dumping under names emacs and emacs-21.2.1 Static heap usage: 2102240 of 2254144, slop is 65536 Static heap usage: 2102240 of 2254144, slop is 65536 -- 148k wasted -- reset to 2167776k emacs: SHEAP_ADJUSTMENT needs to be modified to reduce memory waste! make[1]: *** [emacs] Error 1 make[1]: Leaving directory `/usr/src/emacs-21.2-12/emacs-21.2-build/src' This comes from sheap.c: if (lost > STATIC_HEAP_SLOP) { sprintf (buf + strlen (buf), " -- %ldk wasted", (long)(lost/1024)); if (die_if_pure_storage_exceeded) { sheap_adjust_h(STATIC_HEAP_SLOP - lost); sprintf (buf + strlen (buf), " -- reset to %ldk", (long) (STATIC_HEAP_SIZE + STATIC_HEAP_SLOP - lost)); rc = -1; } message ("%s", buf); } if (rc < 0) { unlink("SATISFIED"); fatal ("SHEAP_ADJUSTMENT needs to be modified to reduce memory waste!"); } I suppose I could increase the size of STATIC_HEAP_SLOP, but that is clearly a bad hack and may have other consequences. Suggestions? Thanks, -- Robert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/