emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mac OS X] LP64 support for Mac OS X 10.4 + G5.


From: Nozomu Ando
Subject: [Mac OS X] LP64 support for Mac OS X 10.4 + G5.
Date: Fri, 13 May 2005 08:51:08 +0900

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: darwin_lp64_patch.txt.gz
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]