From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: The 'cross' directory Date: Sat, 12 Aug 2023 21:43:31 -0400 Message-ID: References: <83fs4uok3p.fsf@gnu.org> <877cq61hlq.fsf@yahoo.com> <87jzu4yioy.fsf@yahoo.com> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24436"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 13 03:44:24 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 1qV09V-000621-S6 for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Aug 2023 03:44:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qV08k-00079i-Ja; Sat, 12 Aug 2023 21:43:34 -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 1qV08i-00079K-Op for emacs-devel@gnu.org; Sat, 12 Aug 2023 21:43:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qV08i-0002TQ-FN; Sat, 12 Aug 2023 21:43:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=PZAVCzzAzx94Sx8UoXF+0ieADyqw7Ar4LCflG7aivE0=; b=JKSj664wHHJR iT+g9OwkZ/kjxpzEHBWUClYfpjD6NaCJaAy+D7NgzfoALaqoHCv/Zk2Dfp/fQNcyVnXV1xGZ/6UD5 rqFY+Kf14sr/bR4RHbLiCmB+Cys7RWd5jB85n1PpiJYU+2xQ3JTRn30kClOLORPwESqFHCtdMU8K2 Mi6CZy4ZZ+aAhvNj2ePqEW5INWCfAwAX9tl7bQYPfH9SOtZ3yHqFofZ4iauzGVNsE2EJ6B6tft3Kp BwSz7jC7rstoO+b9sjvBOGJN32MFJuCXEg4MYZdAFi9dE0jfwH7t0mQuLlKSmNvI7HqBD4VcKj+pj WaVM24ips8kVToBtJ/qKTQ==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qV08h-0001n2-4N; Sat, 12 Aug 2023 21:43:31 -0400 In-Reply-To: <87jzu4yioy.fsf@yahoo.com> (message from Po Lu on Wed, 09 Aug 2023 11:54:05 +0800) 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:308636 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Nothing broke it. Emacs never supported cross compilation in the past, > since Emacs is needed on the build machine to compile Lisp and dump > itself. In the past, building Emacs was cleanly separated into building `temacs' and then using it to dump. We included .elc files in the tar ball so that users did not need to compile any Lisp code unless they changed Lisp source. (Byte-compiling Lisp code was slow and the .elc files were portable.) So I think it should have worked to make `temacs' cross-compiling and then run the rest on the target machine. That should have been easy because it did not need to compile or link any C code. That may still be workable. `make temacs' ought to work ok under cross-compilation, and the rest could be done on the target machine without a C compiler or linker if `make temacs' has done its job. Does this work? -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)