all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: emacs-devel@gnu.org
Subject: Re: Compiling Emacs on Mac OS X 10.6 Snow Leopard
Date: Mon, 31 Aug 2009 13:50:06 -0400	[thread overview]
Message-ID: <7EAD2D44-AA8C-4AAD-904B-BD0E0F6BF611@gmail.com> (raw)
In-Reply-To: <wlzl9gnuc0.wl%mituharu@math.s.chiba-u.ac.jp>

On Aug 31, 2009, at 6:36 AM, YAMAMOTO Mitsuharu wrote:
>  * For Emacs 22.3 and 23.1, you need to apply the patch below.  It
>    has already been applied to the CVS trunk.

This works, even though I had to include loader.h explicitly with a  
full path, because it otherwise seems to include an older loader.h  
that doesn't define LC_DYLD_INFO.

The bigger problem now is that it won't run on 10.5 systems:

  ./emacs
dyld: unknown required load command 0x80000022
Trace/BPT trap

(LC_DYLD_INFO = 0x22)

So I set the deployment target...

export MACOSX_DEPLOYMENT_TARGET=10.4

In that case it builds fine, even without LC_DYLD_INFO being defined.   
I think the linker will correctly generate compatible mach-o files.

It still won't execute on 10.5.  Not sure what this is about:

./Emacs -nw
dyld: lazy symbol binding failed: Symbol not found: _fdopen$UNIX2003
   Referenced from: /Users/dr/Emacs.app/Contents/MacOS/./Emacs
   Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _fdopen$UNIX2003
   Referenced from: /Users/dr/Emacs.app/Contents/MacOS/./Emacs
   Expected in: /usr/lib/libSystem.B.dylib


This is with CC=-arch i386, --without-x --with-ns, from the master  
branch.

Thanks for working on the 10.6 build issue.




  parent reply	other threads:[~2009-08-31 17:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-31 10:36 Compiling Emacs on Mac OS X 10.6 Snow Leopard YAMAMOTO Mitsuharu
2009-08-31 14:40 ` Stefan Monnier
2009-08-31 17:50 ` David Reitter [this message]
2009-09-01  5:24   ` YAMAMOTO Mitsuharu
2009-09-01 17:35     ` David Reitter
2009-08-31 18:02 ` CHENG Gao

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=7EAD2D44-AA8C-4AAD-904B-BD0E0F6BF611@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    /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.