emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The 'cross' directory


From: Helmut Eller
Subject: Re: The 'cross' directory
Date: Tue, 15 Aug 2023 10:05:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On Sun, Aug 13 2023, Eli Zaretskii wrote:

>> From: Richard Stallman <rms@gnu.org>
>> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]