From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: The 'cross' directory Date: Tue, 08 Aug 2023 08:51:45 +0800 Message-ID: <877cq61hlq.fsf@yahoo.com> References: <83fs4uok3p.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6458"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 08 02:53:14 2023 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 1qTAyI-0001SM-72 for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Aug 2023 02:53:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTAxH-0006oy-C5; Mon, 07 Aug 2023 20:52:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTAx9-0006od-Rf for emacs-devel@gnu.org; Mon, 07 Aug 2023 20:52:04 -0400 Original-Received: from sonic310-25.consmr.mail.ne1.yahoo.com ([66.163.186.206]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTAx6-0008EZ-Vp for emacs-devel@gnu.org; Mon, 07 Aug 2023 20:52:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691455917; bh=uq7QyoSSoBrGGhJS1yy0p7g5ths3k/N7ou/6JU4D0B4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=uEx//3N2FngkrXVGBC/xrfj32iOmzzLhPc3D2bPsdiYIDfUYkyygz55YFyaLy9IGZlX9fOfbJHsoFuAcYAr3PbzMQ69QvHqF8eMoVT+iLDQR34MJr8Kt63NgvyZvlBGipk8tLtuiLgTaOIS7aFxr6mCmKmAQMpU5Ph6eXIME8/PAEafg2iLMqAB8fxG3ftFNbb72B/Dv3WudXphfec2wkAsrtVk5TuY2W4YAlEo5GQkQwFKBDtL+qwHEx9k9rkRBvDwdxxF2WBGGuSepSsyc5qPxBnoJZEUwvyKhVlC/74nWkKHQepBkoTafhuoIAMP6jawym5VtkU98jN8fjgcEHg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691455917; bh=w53C5LNtK31gCzfsfUuvvFhSgLjyIGpvqy50EsZFEHz=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=uJl5noza+pyQUwjYf3jLTf7LEuTjRzKAzc2xTTt3/JVAAtdmwPczMqXlcgeM1QfBpdYlsNpoCh5n7YZoP8MNY1cgPDXujqqArmHtH8SX1DKcmcfI/qv/4ehju690fjutSD5hXjKPTcx9RGPyeS73GnK6zCrsUOjQmzhcKj5NnthH2t2oMAPBv3rb3Csb2b/K3Fxg6pFYp7zBYBdQmP4wmZ3LUlBvhgWxsHE4ZRUDjFDTGAt5/EB1c8pCjUle8sEo/VkP22sP/+Z7WPos9i9dyJOjekWwV9rY2snIh4lTl89OEcaIQ1Cd62tqao1t4G7KDjG97Z75JWiVQKqBw3rFlA== X-YMail-OSG: jtj.gOEVM1mtPQbRwhbUeZCb2cAfdL.zvNcLDQhnJIZZ1ksvccJlLVOTf7LVBvo hZvqFGO7EG9zu0T_EI3eqUu.pHsD_2PHlUQ1CmEAi49GH386izCA11ZbseHl.BdYTuLSNVTQjcJ2 DASJxi9Mu9kRqPcP5pW9u_7OzVdvoY_uIEAfHdQeTRkfNCNPoOHKX59rCjkF2qyyCyo689UZiX7M 1N2XID4dJBM_kat.AHcUiihO6XAq9y8RHM_jLeCSbezX7VLQVWZAKde3J5OlNtRdJa2JoGf0Ojin qOHknKxuigGo2vxigaqApragzWQL1tF_CuqLV9UhAfaQhZKxOWVpnNyR4TOBFI.2AvSpstF4b1.o tsiNC01IyNK54KxMGrJXzcU1WyyMBqWZB4aF4HecUZMPpEgFz.X5CmpPH6yfBpvFrVB_HlHlmRdU bOQ_1wphB5MWxCsIQYNjebCgZs.QTTktezvve32.D3m9Btse0jtjYaIivCRP2hahM7LwtVMjuKCW 71QCXj0QnAJDK_PwAWyO7K1iEoGHrsHtep_qD.L9Nyt8Cxm171GfoniR0kkAKvHvhFpyh1uqVbwT RwFJiubAPZ0QdDu7VtWZ4W9AGVHA5TcNT1aG_IaRT0arGGd0Ts1C_RF3p.5rDi1DokKhyqNlWGDl rYFW8g6mwP4TLqaYMEFSHb8RNV7Lc.p5TzmA6bZw7QWL6gCK1X7M2NMDkMZGQGsWuzM.JceLlw71 hH8JuRi5sBuMVDV4j7z_UgsmyG.Uz351ErQFtJBbrKmkEeEBfOmZ.2e9PPuGLMIPof21tIhYgVD. 2vz7BmZjiQBhdb4SrQQq5JymMPePBgvI3I0O5beJsA X-Sonic-MF: X-Sonic-ID: b02437b5-b98f-4bed-a8c6-43e32d12e628 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Tue, 8 Aug 2023 00:51:57 +0000 Original-Received: by hermes--production-sg3-69654d8bd-lxqd4 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 969f1fc3496786a1f479abb4db56c586; Tue, 08 Aug 2023 00:51:50 +0000 (UTC) In-Reply-To: <83fs4uok3p.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 07 Aug 2023 20:09:14 +0300") X-Mailer: WebService/1.1.21695 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.186.206; envelope-from=luangruo@yahoo.com; helo=sonic310-25.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308425 Archived-At: Eli Zaretskii writes: > The file cross/README, though somewhat terse, seems to say that this > directory is for cross-building Emacs. AFAIK the only target for > which Emacs can currently be cross-built is Android. But the portion > of configure.ac that creates subdirectories in this directory and > copies (links) files there is conditioned by > > if test "$XCONFIGURE" != "android"; then > > So this seems to run in any build but Android? XCONFIGURE is only set within the second invocation of `configure' during the Android configuration process, which creates Makefiles that are subsequently copied into the cross directory. This code is only meant to run inside the initial configuration for the build machine. > In any case, it sounds like creating those subdirectories and linking > files there is only needed in the Android build. And if so, can we > please avoid doing this unnecessary stuff in other builds? Yes, will do.