From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Compiling Emacs from source for hacking on it Date: Tue, 31 May 2022 16:02:16 +0200 Message-ID: <87r149er6f.fsf@telefonica.net> References: <875yllucqd.fsf@disroot.org> <874k15an1p.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1302"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:ei1fgg0C6XqNg4pmVGWkb3gym9k= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 31 16:04:40 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nw2UB-00004x-Uy for ged-emacs-devel@m.gmane-mx.org; Tue, 31 May 2022 16:04:39 +0200 Original-Received: from localhost ([::1]:40858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nw2UA-0002tN-UW for ged-emacs-devel@m.gmane-mx.org; Tue, 31 May 2022 10:04:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw2SB-0000yX-Ve for emacs-devel@gnu.org; Tue, 31 May 2022 10:02:36 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:42404) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw2S3-0008W1-TU for emacs-devel@gnu.org; Tue, 31 May 2022 10:02:33 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nw2S0-00075L-QW for emacs-devel@gnu.org; Tue, 31 May 2022 16:02:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290408 Archived-At: Ken Brown writes: > On 5/31/2022 9:35 AM, tomas@tuxteam.de wrote: >>> I think out of tree builds never really worked in Emacs. >> Hm. FWIW I build regularly out-of-tree. I make sure to radically >> delete the build dir, and do a "make distclean" (possibly not >> needed). >> The only issues I had were, from time to time, older .elc files >> (thus that "double cleaning" above: that's how voodoo rituals > > I also build out-of-tree and have done so for years. +1 > I don't do any special cleaning between builds, and it works fine. Apart from the occassional `make bootstrap' or `git clean -fdx'. In fact, INSTALL says that out-of-tree builds are ok: 2b. Alternatively, create a separate directory, outside the source directory, where you want to build Emacs, and invoke 'configure' from there: SOURCE-DIR/configure where SOURCE-DIR is the top-level Emacs source directory.