From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Robert Newsgroups: gmane.emacs.devel Subject: Re: 64-bit compilation and printfs Date: Wed, 14 Oct 2009 13:50:47 -0400 Message-ID: <4EE5D1CB-4FDD-4E71-9717-679FC32FF3D7@gmail.com> References: <4CE21A3C-B51B-45ED-B51B-86072D403E25@gmail.com> <200910141640.n9EGe6o7024021@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1255543913 19295 80.91.229.12 (14 Oct 2009 18:11:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2009 18:11:53 +0000 (UTC) Cc: Emacs-Devel devel To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 14 20:11:43 2009 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 1My8Jz-0004RI-SO for ged-emacs-devel@m.gmane.org; Wed, 14 Oct 2009 20:11:36 +0200 Original-Received: from localhost ([127.0.0.1]:38022 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My8Jz-0000GF-5y for ged-emacs-devel@m.gmane.org; Wed, 14 Oct 2009 14:11:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My805-0006aO-Cv for emacs-devel@gnu.org; Wed, 14 Oct 2009 13:51:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My800-0006V2-Ua for emacs-devel@gnu.org; Wed, 14 Oct 2009 13:51:01 -0400 Original-Received: from [199.232.76.173] (port=51049 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My800-0006Un-I5 for emacs-devel@gnu.org; Wed, 14 Oct 2009 13:50:56 -0400 Original-Received: from mail-pz0-f192.google.com ([209.85.222.192]:45346) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1My800-00027T-5F for emacs-devel@gnu.org; Wed, 14 Oct 2009 13:50:56 -0400 Original-Received: by pzk30 with SMTP id 30so16821pzk.24 for ; Wed, 14 Oct 2009 10:50:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=8xb8Wr3MmvZcRCvVzm1eXhqUTqP+opr29mXneHCYKWc=; b=RduwPiLsyIH7YHl7xDx1Dao3hEJpjXlLwEz5QNlQKM6cXeJY+ysWXtI5WosVEpG79q qsht3FrXhoP1p3MK42e7jNMOVUaa7Mld6bC6ljZlu3mbJ58l1C57dmaAGanvBhBDEr5y bCdhaeqttCYYvPV9tWVyWQrd6ee/bI0dMcasU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=cRAVi1LZzCXtT3iFSV2FGB8j1osUJuMOTsimMZ8tQGDu+woN3j0OrpSak004HtLd3A tpVkKLyMhZdbrYLI8D1ezP2YQEP0GHh5z9zt1kvNhVCJ7MoJCYtbcqwXSFwCnc4hQKyy LKKR905+1sLxx+zf0bwuclBy0E9G/UzhX0Wig= Original-Received: by 10.114.45.2 with SMTP id s2mr5561797was.122.1255542653514; Wed, 14 Oct 2009 10:50:53 -0700 (PDT) Original-Received: from ?192.168.2.13? (51.sub-75-236-196.myvzw.com [75.236.196.51]) by mx.google.com with ESMTPS id 21sm892821pxi.11.2009.10.14.10.50.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 14 Oct 2009 10:50:52 -0700 (PDT) In-Reply-To: <200910141640.n9EGe6o7024021@godzilla.ics.uci.edu> X-Mailer: Apple Mail (2.1076) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:116146 Archived-At: On Oct 14, 2009, at 12:40 PM, Dan Nicolaescu wrote: > It looks like this the 64-bit mode uses the 32-bit configuration file. > From configure.in: > > ## Apple Darwin / Mac OS X > *-apple-darwin* ) > case "${canonical}" in > i[3456]86-* ) machine=intel386 ;; > powerpc-* ) machine=macppc ;; > * ) unported=yes ;; > esac > > there should be an: > x86_64-* ) machine=amdx86-64 ;; > in that "case". > > that will allow to remove this from emacs/src/s/intel386.h: > > #if defined (DARWIN_OS) > #ifdef _LP64 > /* For Intel Mac, with CC='gcc -arch x86_64'. */ > #define NO_ARG_ARRAY > #endif > #endif > > there shouldn't be any _LP64 checks in that file. OK, I'm adding the first and taking the second out. It hasn't fired in some time anyway as DARWIN_OS is not defined yet (machine file comes before system file in config.h). However, what is the purpose of the defining of START_FILES in amdx86-64.h? The default case is: #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o None of those files are on OS X machines (not sure about non-OS X Darwin). I can exclude it under __APPLE__ but wanted to know why it was there first. -Adrian