unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <angelo.graziosi@alice.it>
To: emacs-devel@gnu.org
Subject: Re: Building Emacs fails on Cygwin
Date: Tue, 11 Nov 2008 18:22:37 +0100	[thread overview]
Message-ID: <4919BF5D.80802@alice.it> (raw)

Paul Michael Reilly wrote:

> The bootstrap failed as shown below

This has been discussed longly [1]. I think this is also related to
recent discussion titled

    "size of emacs executable after unicode merge".

The solution is the patch below. Pre-built binaries here [2].


===============================
--- sheap.c.orig        2008-05-14 14:56:07.000000000 +0200
+++ sheap.c     2008-06-28 18:21:30.984375000 +0200
@@ -24,7 +24,7 @@

  #include <unistd.h>

-#define STATIC_HEAP_SIZE       (12 * 1024 * 1024)
+#define STATIC_HEAP_SIZE       (25 * 1024 * 1024)

  int debug_sheap = 0;

@@ -40,9 +40,7 @@
    if (!bss_sbrk_ptr)
      {
        bss_sbrk_ptr = bss_sbrk_buffer;
-#ifdef CYGWIN
        sbrk (BLOCKSIZE);                /* force space for fork to work */
-#endif
      }

    if (!(int) request_size)
===============================


Cheers,
    Angelo.

---
[1] http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00052.html
[2] http://www.webalice.it/angelo.graziosi/cygwin/emacs/Emacs.html

Facesti come quei che va di notte,
che porta il lume dietro e se' non giova,
ma dopo se' fa le persone dotte.

                   DANTE, Purgatorio, xxii 67-69




             reply	other threads:[~2008-11-11 17:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11 17:22 Angelo Graziosi [this message]
2008-11-11 17:57 ` Building Emacs fails on Cygwin Paul Reilly
2008-11-14  3:23   ` Stephen J. Turnbull
  -- strict thread matches above, loose matches on Subject: below --
2008-11-11 14:38 Paul Michael Reilly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4919BF5D.80802@alice.it \
    --to=angelo.graziosi@alice.it \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).