[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch
Re: The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch is merged to trunk]
Wed, 28 May 2008 09:42:16 +0200
Thunderbird 126.96.36.199 (Windows/20080421)
> I just tried the patch on Cygwin with current emacs CVS, PASS.
Stefan Monnier wrote:
> According to the first 2 lines of sheap.c, this file is specific to
> cygwin, so there's no need to "#ifdef CYGWIN".
YAMAMOTO Mitsuharu wrote:
> In relation to the recent "Problems preloading x-win.el" thread, the
> requirement for the final dump is not that big (12486816 bytes)
For the sake of completeness, they are a few months I use this patch:
--- sheap.orig.c 2008-01-08 21:44:26.000000000 +0100
+++ sheap.c 2008-04-10 14:32:40.265625000 +0200
@@ -26,7 +26,11 @@
-#define STATIC_HEAP_SIZE (12 * 1024 * 1024)
+#define STATIC_HEAP_SIZE (25 * 1024 * 1024)
+#define STATIC_HEAP_SIZE (19 * 1024 * 1024)
int debug_sheap = 0;
@@ -42,9 +46,7 @@
bss_sbrk_ptr = bss_sbrk_buffer;
sbrk (BLOCKSIZE); /* force space for fork to work */
if (!(int) request_size)
Bootstrapping on Cygwin needs about 24 MB for STATIC_HEAP_SIZE, after
the first build of binaries; it needs 'only' about < 19MB, after the
final build of binaries.
So, if I want a full bootstrap, I configure with:
If I bootstrap on GNU/Linux, make-dist --snapshot... then I can build
(NO bootstrap) configuring
Any other solution (mainly reducing STATIC_HEAP_SIZE) is good.
Re: The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch is merged to trunk], Angelo Graziosi, 2008/05/28