From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system Date: Mon, 15 Jan 2007 08:21:54 +0200 Message-ID: <20070115062154.GC2855@kobe.laptop> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1168887293 19119 80.91.229.12 (15 Jan 2007 18:54:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2007 18:54:53 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 15 19:54:51 2007 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 1H6VeZ-0004cj-MB for ged-emacs-devel@m.gmane.org; Mon, 15 Jan 2007 18:29:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6Ntj-0003cf-48 for ged-emacs-devel@m.gmane.org; Mon, 15 Jan 2007 04:12:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H6NtQ-0003cF-Ie for emacs-devel@gnu.org; Mon, 15 Jan 2007 04:12:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H6NtP-0003bp-PE for emacs-devel@gnu.org; Mon, 15 Jan 2007 04:12:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6NtP-0003bm-M8 for emacs-devel@gnu.org; Mon, 15 Jan 2007 04:12:39 -0500 Original-Received: from [62.1.205.36] (helo=igloo.linux.gr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H6NtM-00076J-IU; Mon, 15 Jan 2007 04:12:37 -0500 Original-Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l0F9BttC027211 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 15 Jan 2007 11:12:01 +0200 Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id l0F9BW2G001599; Mon, 15 Jan 2007 11:11:48 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Original-Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id l0F6LslT003010; Mon, 15 Jan 2007 08:21:54 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Original-To: Glenn Morris Content-Disposition: inline In-Reply-To: X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.476, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.72, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr 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:65216 Archived-At: On 2007-01-08 20:44, Glenn Morris wrote: > I suggest adding something like the following to etc/PROBLEMS and > etc/TODO. I not infrequently want to compile 32-bit apps on 64-bit > systems (so that they can be run on otherwise identical 64- and 32-bit > systems). I don't really think the text below is correct. I have been building 32-bit versions of Emacs 22 on Solaris amd64 systems for several months now, and the build works fine. This means that, at least the following part of the text below is false: "when building on a 64-bit platform, you must build a 64-bit executable" Depending on the set of runtime libraries, and the support of the build system for compiling and installing 32-bit vs. 64-bit binaries, the above statement may or may not be true. > *** PROBLEMS 16 Dec 2006 14:00:15 -0000 1.202 > --- PROBLEMS 9 Jan 2007 01:39:51 -0000 > *************** > *** 2355,2360 **** > --- 2355,2366 ---- > the problem, install the current version of GNU Sed, then rerun > Emacs's configure script. > > + *** Building a 32-bit executable on a 64-bit GNU/Linux architecture fails. > + > + For example, if CFLAGS=-m32 is passed to configure, the resulting > + build will fail. There is no fix for this problem at present - when > + building on a 64-bit platform, you must build a 64-bit executable. > + > *** Building the Cygwin port for MS-Windows can fail with some GCC > version > > Building Emacs 22 with Cygwin builds of GCC 3.4.4-1 and 3.4.4-2 is > > > *** TODO 2 Jan 2007 18:29:37 -0000 1.137 > --- TODO 9 Jan 2007 01:40:09 -0000 > *************** > *** 159,164 **** > --- 159,167 ---- > > * Other features we would like: > > + ** Make it possible to build a 32-bit executable on 64-bit systems. > + See http://lists.gnu.org/archive/html/emacs-pretest-bug/2006-10/msg00462.html > + > ** Remove the default toggling behavior of minor modes when called from elisp > rather than interactively. This a trivial one-liner in easy-mode.el. > ** Create a category of errors called `user-error' for errors which are