emacs-devel
[Top][All Lists]
Advanced

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

Re: unable to build 64-bit version on Mac OS X


From: YAMAMOTO Mitsuharu
Subject: Re: unable to build 64-bit version on Mac OS X
Date: Wed, 23 Apr 2008 10:10:27 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Wed, 23 Apr 2008 00:49:02 +0900, William Xu <address@hidden> said:

> On Mac OS X 10.5.2, emacs is configured with: 

> ,----
> | CC='gcc -m64' ./configure --prefix=$HOME --with-carbon --without-x"
> `----

> Compilation failed during `make bootstrap'.

You can't do that.
http://developer.apple.com/documentation/Carbon/Conceptual/Carbon64BitGuide/Introduction/chapter_1_section_1.html
says:

  Most APIs in Mac OS X v10.5 are available to both 32-bit and 64-bit
  applications, but some APIs commonly used by Carbon applications are
  not. In particular, the APIs used to implement a Carbon user
  interface are generally available only to 32-bit applications. If
  you want to create a 64-bit application for Mac OS X, you need to
  use Cocoa to implement its user interface.

As unexmacosx.c is 64-bit compliant as of Emacs 22.2, you can build
tty-only or X11 build if you have necessary libraries.  (I've never
tried CC='gcc -m64', but CC='gcc -arch ppc64' or CC='gcc -arch x86_64'
would work.)

                                     YAMAMOTO Mitsuharu
                                address@hidden




reply via email to

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