From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.bugs Subject: bug#13479: Cross Compiling for ARM Date: Thu, 24 Jan 2013 12:42:26 +0800 Message-ID: <87obgfw5sd.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1359002594 32115 80.91.229.3 (24 Jan 2013 04:43:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jan 2013 04:43:14 +0000 (UTC) Cc: Ross Biro , 13479@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 24 05:43:32 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TyEeu-0007eq-1O for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jan 2013 05:43:28 +0100 Original-Received: from localhost ([::1]:43326 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyEeb-0007vy-Vg for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Jan 2013 23:43:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyEeV-0007uW-RM for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2013 23:43:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TyEeT-0006OW-Mg for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2013 23:43:03 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyEeT-0006OS-KL for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2013 23:43:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TyEeU-00061S-0h for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2013 23:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jason Rumney Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jan 2013 04:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13479-submit@debbugs.gnu.org id=B13479.135900257023125 (code B ref 13479); Thu, 24 Jan 2013 04:43:01 +0000 Original-Received: (at 13479) by debbugs.gnu.org; 24 Jan 2013 04:42:50 +0000 Original-Received: from localhost ([127.0.0.1]:47155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TyEeG-00060u-GA for submit@debbugs.gnu.org; Wed, 23 Jan 2013 23:42:49 -0500 Original-Received: from mail-pa0-f49.google.com ([209.85.220.49]:32984) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TyEeD-00060i-Jy for 13479@debbugs.gnu.org; Wed, 23 Jan 2013 23:42:46 -0500 Original-Received: by mail-pa0-f49.google.com with SMTP id bi1so5229850pad.8 for <13479@debbugs.gnu.org>; Wed, 23 Jan 2013 20:42:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=t9dePx0sWeNCPPcFVHKhkwlXv/dj81evUO9Ms8khIB8=; b=Op1vF5XUD04suLjQ9GQfNBQDbj43iRKnEtkybwmLwY3hvKwrQW2hskI+HbZ+x5cjjy BWNN7Ige+YRgCKc/XF3pdxKl32hFvl2EG7ENuwmTwHpNfaRpYgJc6ohkMLKN38KIkF5C FKnpzxf3wbc16GkkbzC7P7ePCyOytH+gg5oRdXXx4PI0zgcA53JSY5DHTfHsxbyAm9fX 6xuu4b+zbD91PhxB1Q6T6k8VqBlYQOewEbO2eO8G0quFcoec4fSozH5a1TerITruX+xd nyfi71fqKpzMFo0YCB9aq4w/iTTdw6XxPf1fbwudiCWORgHJfTsdowB8rdgzDmNRudpT IyIA== X-Received: by 10.66.72.201 with SMTP id f9mr1576926pav.38.1359002564217; Wed, 23 Jan 2013 20:42:44 -0800 (PST) Original-Received: from home.jasonrumney.net ([180.75.201.177]) by mx.google.com with ESMTPS id na7sm14090618pbc.48.2013.01.23.20.42.34 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Jan 2013 20:42:42 -0800 (PST) Original-Received: by home.jasonrumney.net (Postfix, from userid 1000) id 4DF0355E; Thu, 24 Jan 2013 12:42:26 +0800 (MYT) In-Reply-To: (Stefan Monnier's message of "Fri, 18 Jan 2013 09:26:49 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:70228 Archived-At: Stefan Monnier writes: >> Obviously, I also had to CANNOT_DUMP=yes as well. > > That's a problem that would need to be solved, of course, because there > are invariably more bugs in this mode of operation. > >> 1) ... However make-docfile and test-distrib need to be built with >> the local compiler... > > We could incorporate this part of your changes, I think. > >> 2) The lisp and leim directories really want a local copy of Emacs to >> compile. > > ... > An alternative is of course to use an emulator to run src/emacs and/or > src/bootstrap-emacs. Using an emulator would allow dumping as well, and could also be used for make-docfile and test-distrib. I think gcc has similar cross-compilation bootstrapping issues which have been solved in the makefiles, so that is probably a good example to follow if making cross-compilation work is something someone wants to seriously fix.