emacs-devel
[Top][All Lists]
Advanced

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

Re: [feature/native-comp] breakage on build


From: Phillip Lord
Subject: Re: [feature/native-comp] breakage on build
Date: Thu, 04 Feb 2021 15:52:54 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Phillip Lord <phillip.lord@russet.org.uk>
>> Cc: Andrea Corallo <akrl@sdf.org>,  Eli Zaretskii <eliz@gnu.org>
>> Date: Thu, 04 Feb 2021 14:39:50 +0000
>> 
>> At the moment, the compilation process only runs successfully when run
>> from an mingw64 shell
>
> What does that mean, exactly?  Isn't libgccjit being invoked by Emacs
> itself? then how does the shell, any shell, enter the picture?

If you invoke runemacs.exe it picks up its environment from the mingw64
shell. That means anything installed on the local machine to the
/mingw64, any dlls, anything will be available to Emacs, even if they
are not present in the bundle.

If you invoke runemacs.exe by clicking on it in explorer, then it only
looks for DLLs in the same directory (and what ever windows normally
does I guess).

So, I have the right dependencies installed on my build machine, but
haven't packaged them up correctly.


>> The error I am getting is this:
>> 
>> Compiling
>> c:/msys64/home/Administrator/emacs-upload/emacs-28.0.50-snapshot-feature_native-comp-windows-2021-02-04/share/emacs/28.0.50/lisp/emacs-lisp/cl-lib.el...
>> compiling to
>> c:/Users/Administrator/AppData/Roaming/.emacs.d/eln-cache/28.0.50-14889799/cl-lib-8b938900-d1df28b7.eln
>> x86_64-w64-mingw32-gcc-10.2.0: fatal error: cannot execute 'as':
>> CreateProcess: No such file or directory
>> compilation terminated.
>
> Why do you see the "x86_64-w64-mingw32-gcc-10.2.0" thing? are you
> cross-building Emacs or something?

Hmmm. I don't know why I see that. No, I am not cross building.


>> I've tried putting as.exe manually into the package but that isn't
>> enough. as.exe doesn't seem to have any dll dependencies itself.
>
> Is as.exe on PATH?  If not, where is it?

Not in my package at the moment. I have tried adding it next to the
runemacs.exe, and expected that to work, but it didn't.

When I become world dictator, I shall people from naming their software
after common words!

Phil



reply via email to

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