From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [OSX] G4 compiled binary fails on G5 Date: Wed, 02 Feb 2005 12:21:34 -0500 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1107366387 30989 80.91.229.2 (2 Feb 2005 17:46:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Feb 2005 17:46:27 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 02 18:46:27 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CwOZX-00073N-S5 for ged-emacs-devel@m.gmane.org; Wed, 02 Feb 2005 18:45:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CwOmh-000692-RO for ged-emacs-devel@m.gmane.org; Wed, 02 Feb 2005 12:59:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CwOhU-0004WX-0D for emacs-devel@gnu.org; Wed, 02 Feb 2005 12:54:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CwOhG-0004SY-HE for emacs-devel@gnu.org; Wed, 02 Feb 2005 12:53:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CwOhE-0004PH-B3 for emacs-devel@gnu.org; Wed, 02 Feb 2005 12:53:44 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CwOCB-0005wu-RH for emacs-devel@gnu.org; Wed, 02 Feb 2005 12:21:40 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 83B468282B4; Wed, 2 Feb 2005 12:21:39 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id C7CEF4AC137; Wed, 2 Feb 2005 12:21:34 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id A7E084C20F; Wed, 2 Feb 2005 12:21:34 -0500 (EST) Original-To: =?iso-8859-1?q?S=E9bastien_Kirche?= In-Reply-To: ( =?iso-8859-1?q?S=E9bastien_Kirche's_message_of?= "Wed, 02 Feb 2005 17:22:44 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.774, requis 5, autolearn=not spam, AWL 0.13, BAYES_00 -4.90) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:32761 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32761 > > You should recompile and either run > > make CC=3Dgcc > > or > > make-package -M,CC=3Dgcc >=20 > I have compiled a version with =ABmake-package --self-compiled -M,CC=3Dg= cc=BB and > now wait for feedback. >=20 > I also made an OS9 version with the USE_LSB_TAG and i wonder if it should= be > given also to OSX ? How did you set the USE_LSB_TAG ? What compiler did you use? > That symbol seems to be defined on mac if __MRC__ is defined. IIRC MrC u= sed > to be the OS9 compiler from Apple/MPW. I must say I have no clue under which circumstance are the mac/inc/* files used. Is that for Mac OS 9 only? While I'm looking at them, couls someone tell me what the following comment (in mac/inc/config.h) refers to: /* Use low-bits for tags. If ENABLE_CHECKING is turned on together with USE_LSB_TAG, optimization flags should be explicitly turned off. */ what's the problem with optimization flags and ENABLE_CHECKING and USE_LSB_TAG? Also in s-mac.h, would it be correct to add to the code #ifdef __MRC__ #define DECL_ALIGN(type, var) type var #endif a little comment saying something like "MrC always aligns structures larger than 8bytes on 8byte boundaries". If not, what is the justification for defining DECL_ALIGN as a nop? > If so, looking dumb I did not figured the syntax to provide both CC= =3Dgcc > *and* USE_LSB_TAG or maybe -DUSE_LSB_TAG... If you tell me how you set USE_LSB_TAG, I may be able to tell you how to combine the two. Stefan