all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: New emacs maintainer for cygwin
Date: Wed, 20 May 2009 13:37:16 -0400	[thread overview]
Message-ID: <4A143FCC.1030004@cornell.edu> (raw)
In-Reply-To: <jwvzld7er9b.fsf-monnier+emacs@gnu.org>

On 5/20/2009 11:22 AM, Stefan Monnier wrote:
>> Could you elaborate on this?  I don't know anything about USE_LSB_TAG. All
> 
> grep for USE_LSB_TAG in src/lisp.h.  It's quite likely that Cygwin uses
> it already (ideally, all systems should use it).

That does seem to be the case, if I understand src/lisp.h correctly. 
I'm using gcc, so __GNUC__ is defined, and src/config.h contains #define 
GNU_MALLOC 1.  This should guarantee that USE_LSB_TAG is being used.  Right?

I therefore propose the following patch to src/s/cygwin.h, which is a 
slightly modified version of the one I sent yesterday:

--- cygwin.h.orig	2009-05-20 13:30:27.062500000 -0400
+++ cygwin.h	2009-05-20 13:31:17.140625000 -0400
@@ -105,11 +105,7 @@
  #define SYSV_SYSTEM_DIR 1
  #define UNEXEC unexcw.o
  #define POSIX_SIGNALS 1
-/* force the emacs image to start high in memory, so dll relocation
-   can put things in low memory without causing all sorts of grief for
-   emacs lisp pointers */
-#define DATA_SEG_BITS 0x20000000
-#define LINKER $(CC) -Wl,--image-base,DATA_SEG_BITS
+#define LINKER $(CC)

  /* Use terminfo instead of termcap.  Fewer environment variables to
     go wrong, more terminal types. */

I realize that this patch does not fix a regression from emacs 22.3, so 
maybe it should wait until after 23.1 is released.  But it affect only 
the cygwin build, and it would simplify my task of patching etc/PROBLEMS 
if it could be applied soon.

Ken




  reply	other threads:[~2009-05-20 17:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-15 13:41 New emacs maintainer for cygwin Ken Brown
2009-05-15 14:16 ` Eli Zaretskii
2009-05-15 14:35   ` Ken Brown
2009-05-15 14:42     ` Lennart Borgman
2009-05-15 14:55     ` Chong Yidong
2009-05-17  4:01     ` Stefan Monnier
2009-05-20  0:21   ` Ken Brown
2009-05-20  2:14     ` Stefan Monnier
2009-05-20  2:39       ` Ken Brown
2009-05-20 15:22         ` Stefan Monnier
2009-05-20 17:37           ` Ken Brown [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-05-20  8:05 Angelo Graziosi
2009-05-20 12:30 ` Ken Brown
2009-05-20 12:46   ` Angelo Graziosi
2009-05-20 22:19 Angelo Graziosi
2009-05-20 22:39 ` Ken Brown

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

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

  git send-email \
    --in-reply-to=4A143FCC.1030004@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.