From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: build emacs outside of the source directory Date: Fri, 08 Mar 2013 07:54:20 +0900 Message-ID: <87li9yizxf.fsf@uwakimon.sk.tsukuba.ac.jp> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1362696875 6312 80.91.229.3 (7 Mar 2013 22:54:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Mar 2013 22:54:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Darren Hoo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 07 23:54:58 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UDjiB-0001p0-KS for ged-emacs-devel@m.gmane.org; Thu, 07 Mar 2013 23:54:55 +0100 Original-Received: from localhost ([::1]:37119 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDjhp-0007RJ-Jh for ged-emacs-devel@m.gmane.org; Thu, 07 Mar 2013 17:54:33 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDjhm-0007RE-5j for emacs-devel@gnu.org; Thu, 07 Mar 2013 17:54:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDjhl-0006TN-6E for emacs-devel@gnu.org; Thu, 07 Mar 2013 17:54:30 -0500 Original-Received: from mgmt2.sk.tsukuba.ac.jp ([130.158.97.224]:59200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDjhk-0006Sj-Sp for emacs-devel@gnu.org; Thu, 07 Mar 2013 17:54:29 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt2.sk.tsukuba.ac.jp (Postfix) with ESMTP id 42649970900; Fri, 8 Mar 2013 07:54:21 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 08D4711F432; Fri, 8 Mar 2013 07:54:20 +0900 (JST) In-Reply-To: X-Mailer: VM undefined under 21.5 (beta32) "habanero" b0d40183ac79 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 130.158.97.224 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157572 Archived-At: Darren Hoo writes: > The built object files for emacs/{src,lib,lib-src} all go to > build/{src,lib,lib-src}, but the *.elc files are not, they still lie in > the emacs/lisp diretory. It's complicated. The theory is that compiled Lisp is universal (can be run by any instance of Emacs) but that's not 100% true. (Especially for *XEmacs because Mule is optional -- we just fixed a related build bug, but that's not a problem here.) To the extent that the assumption is true, this is a significant build-time-saver. The easy way to generalize this would be to symlink farm the lisp directory into blddir instead of linking the directory itself. But for the reason above, and to some extent Andreas's point about tarball distribution, it would need to be a configure option. People might object to that as needless complexity.