From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: The 'cross' directory Date: Tue, 15 Aug 2023 10:05:45 +0200 Message-ID: References: <83fs4uok3p.fsf@gnu.org> <877cq61hlq.fsf@yahoo.com> <87jzu4yioy.fsf@yahoo.com> <83pm3rcxh7.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="35145"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: rms@gnu.org, luangruo@yahoo.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 15 10:06:44 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 1qVp4e-0008qI-Gs for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Aug 2023 10:06:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVp3p-0003ju-Fq; Tue, 15 Aug 2023 04:05:53 -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 1qVp3n-0003jQ-PH for emacs-devel@gnu.org; Tue, 15 Aug 2023 04:05:51 -0400 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qVp3l-0000vk-JS; Tue, 15 Aug 2023 04:05:51 -0400 Original-Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-3159d5e409dso3668489f8f.0; Tue, 15 Aug 2023 01:05:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692086747; x=1692691547; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Pbro2x64puwRck95NWc/pNbEPxUTzluUmfgdg1sFZx0=; b=euese7KuefvTeXpwrTrVy97rU/2C5/QCXfJbxDSlukgKR2w/UqZSkVBatq8gep77rZ UzJGmkPpBYKznME6Y+GAkNTaWWO2efaFjaQjzLQE/zP1U514H7od5ecn1LGikP9jJ+sp sfsFYL9ZvdNLSJM5NVyKHpW39A8jipXjpT14WyWMJjSUdAOTzANmN3hLpY9ADdvQQkxN +mN5RUwoWH6LbKnxTqamU+JcIFUU3AJJw+olZa3nnU/KSNHnGYm3/igL1PAvB6WfGkWY E+09b60D7T8gEtxyphCKghjpbKol+xECkXYjw67IC5fUOArsox+tqhl0GzAwLojqVmMY ldCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692086747; x=1692691547; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Pbro2x64puwRck95NWc/pNbEPxUTzluUmfgdg1sFZx0=; b=Sw5BmrFgw/WTtTWmZM8dOgMSvFNVtnKGINOPgI10912mhoPOVqNz/uOqUwUknbJX7z hStXBAm6weREa+UOh7tH1GpOkldhpfP3Ov0E3yUbsYKTvjBJpPoboedodu/o9tXrC/Qr ycGqPzRTTQwKY4uskmiygg35FzSM6cFgEfI9xnSHZUggsrFZKZzkvgwYDApLclwwjCkP /p2YWo7a7d3+XF3M3Mcdn1ab1ZTB09jNp0odUQ71/p8opeeTOSGyvmhtHsPGzbKZPC0l Qz6ug1f70GFrE2qz5ZM/TM6n+uvfer3BHCE/hUvYru+fGhU/Pqc7uJ/Fc8EKCiGqUvQK R2/A== X-Gm-Message-State: AOJu0YymG/BOmJ5UkLtwl5niVRI/+X9B3ChEepuAREMh8T57cea2mToK YdGkAzC0r0bUkLPpLNxGyj1+k71BmQw= X-Google-Smtp-Source: AGHT+IFvc/Jf+Ju9JOsB5WdoCyhyBaWhAJUJk+rWzh+Xjmc9ctSNWahOl0BIziHZ5k8//ImUL5wBTg== X-Received: by 2002:adf:d0ce:0:b0:317:e68f:e1af with SMTP id z14-20020adfd0ce000000b00317e68fe1afmr898991wrh.20.1692086746818; Tue, 15 Aug 2023 01:05:46 -0700 (PDT) Original-Received: from caladan ([185.127.213.71]) by smtp.gmail.com with ESMTPSA id j5-20020a056000124500b003143cb109d5sm17033082wrx.14.2023.08.15.01.05.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 01:05:46 -0700 (PDT) In-Reply-To: <83pm3rcxh7.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 13 Aug 2023 08:39:16 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=eller.helmut@gmail.com; helo=mail-wr1-x431.google.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, 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:308750 Archived-At: On Sun, Aug 13 2023, Eli Zaretskii wrote: >> From: Richard Stallman >> 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. > > This should still work, although I doubt if anyone tried it lately. > Emacs with native-compilation cannot be built that way, because the > native-code *.eln files are produced at build time, and cannot be > included in the tarball (they depend on the architecture of the target > machine and include signatures of the Emacs binary and the location of > the source *.el files). But Emacs without native-compilation could be > produced in such two steps, except that the target environment still > needs some support tools: GNU Make, cp and rm. (Alternatively, they > could invoke the final build commands by hand, if they know how.) Is it possible/easy to cross-compile Emacs for Windows on a Unix machine? Possibly with the help of Wine for dumping. Debian has a package gcc-mingw-w64-x86-64, so I suppose installing the cross compiler itself is fairly easy. Helmut