From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: unable to build 64-bit version on Mac OS X Date: Wed, 23 Apr 2008 10:10:27 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1208913054 7222 80.91.229.12 (23 Apr 2008 01:10:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Apr 2008 01:10:54 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: William Xu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 23 03:11:29 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JoTWA-0002Nl-Vu for ged-emacs-devel@m.gmane.org; Wed, 23 Apr 2008 03:11:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JoTVU-00038U-T7 for ged-emacs-devel@m.gmane.org; Tue, 22 Apr 2008 21:10:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JoTVQ-00038F-Qi for emacs-devel@gnu.org; Tue, 22 Apr 2008 21:10:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JoTVO-000383-AS for emacs-devel@gnu.org; Tue, 22 Apr 2008 21:10:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JoTVO-000380-2G for emacs-devel@gnu.org; Tue, 22 Apr 2008 21:10:38 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JoTVN-0006Dy-SC for emacs-devel@gnu.org; Tue, 22 Apr 2008 21:10:37 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JoTVN-0003NV-Ep for emacs-pretest-bug@gnu.org; Tue, 22 Apr 2008 21:10:37 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JoTVJ-0006D2-22 for emacs-pretest-bug@gnu.org; Tue, 22 Apr 2008 21:10:37 -0400 Original-Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2] helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JoTVI-0006CQ-LU for emacs-pretest-bug@gnu.org; Tue, 22 Apr 2008 21:10:32 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 9DBE92C40; Wed, 23 Apr 2008 10:10:27 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-kernel: by monty-python.gnu.org: NetBSD 3.0 (DF) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:95813 gmane.emacs.pretest.bugs:22113 Archived-At: >>>>> On Wed, 23 Apr 2008 00:49:02 +0900, William Xu 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 mituharu@math.s.chiba-u.ac.jp