all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [Mac OS X] LP64 support for Mac OS X 10.4 + G5.
@ 2005-05-12 23:51 Nozomu Ando
  2006-11-11  6:48 ` YAMAMOTO Mitsuharu
  0 siblings, 1 reply; 9+ messages in thread
From: Nozomu Ando @ 2005-05-12 23:51 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1072 bytes --]

Hello all,

The attached patch is for LP64 support of Emacs CVS HEAD
 on Mac OS X 10.4 + G5.
(But it does not support neither Carbon nor X11 (terminal only)).

Before compiling emacs, you need libncurses for ppc64 architecture:

1. get source files ncurses-15.tar.gz from darwin site and extract it.
	$ curl -O http://www.opensource.apple.com/darwinsource/tarballs/other/ncurses-15.tar.gz
	$ tar xfz ncurses-15.tar.gz

2. make it.
	$ cd ncurses-15
	$ env SRCROOT=`pwd` make

3. copy ppc64 part of libncurses to /usr/lib/libncurses.5.4.dylib
	$ cd /tmp/ncurses/Build/lib
	$ lipo -extract ppc64 libncurses.5.4.dylib -output libncurses.5.4.ppc64
	$ lipo -create /usr/lib/libncurses.5.4.dylib libncurses.5.4.ppc64 -output libncurses.5.4.fat
	$ sudo mv /usr/lib/libncurses.5.4.dylib /usr/lib/libncurses.5.4.dylib.orig && sudo cp -p libncurses.5.4.fat /usr/lib/libncurses.5.4.dylib


Then you can compile emacs:

4. cd .../emacs ; patch -p0 < darwin_lp64_patch.txt

5. ./configure --without-x --without-carbon CC='cc -arch ppc64'

6. make bootstrap


Best Regards,
Nozomu Ando


[-- Attachment #2: darwin_lp64_patch.txt.gz --]
[-- Type: application/octet-stream, Size: 4654 bytes --]

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Discussion of the following change?
@ 2006-11-13 13:17 David Kastrup
  2006-11-13 13:41 ` Juanma Barranquero
  0 siblings, 1 reply; 9+ messages in thread
From: David Kastrup @ 2006-11-13 13:17 UTC (permalink / raw)



Hi,

I see in src/ChangeLog

2006-11-13  Nozomu Ando  <nand@mac.com>

	* alloc.c (mark_memory): New argument OFFSET.  All uses changed.
	Fix address calculations for case END < START.
	(mark_stack): Impose Lisp_Object alignment on jmp_buf.

Uh, this appears like a rather large cross-platform change to me.
Could somebody give me a message id where it had been discussed?  I
seem to have missed this.  Maybe it was under an incomspicuous subject
heading?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-11-14  1:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-12 23:51 [Mac OS X] LP64 support for Mac OS X 10.4 + G5 Nozomu Ando
2006-11-11  6:48 ` YAMAMOTO Mitsuharu
2006-11-11 10:23   ` Andreas Schwab
2006-11-11 11:01     ` YAMAMOTO Mitsuharu
2006-11-14  1:39       ` Discussion of the following change? YAMAMOTO Mitsuharu
2006-11-12  5:14   ` [Mac OS X] LP64 support for Mac OS X 10.4 + G5 Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2006-11-13 13:17 Discussion of the following change? David Kastrup
2006-11-13 13:41 ` Juanma Barranquero
2006-11-13 14:02   ` David Kastrup

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.