GNU bug report logs -
#45303
28.0.50; [feature/native-comp] comp.c compilation error on Windows 10
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Within emacs I do this :
(add-to-list 'exec-path "D:/xxxx/Documents/utils/msys64/mingw64/bin")
However, you were right. Adding :
SET PATH=D:\xxxx\Documents\utils\msys64\mingw64\bin;%PATH%
in the batch file ahead of emacs invocation makes it work as normal.
Are there some other paths from msys or mingw I should add for emacs
startup ?
Regards
Le sam. 26 déc. 2020 à 15:24, Eli Zaretskii <eliz <at> gnu.org> a écrit :
> > From: edouard debry <edouard.debry <at> gmail.com>
> > Date: Sat, 26 Dec 2020 15:02:54 +0100
> > Cc: Eli Zaretskii <eliz <at> gnu.org>, gliao.tw <at> pm.me, pcfeb0009 <at> gmx.com,
> 45303 <at> debbugs.gnu.org
> >
> > and added the absolute path of "/mingw64/bin" to the emacs exec-path.
>
> What does this mean, exactly? IOW, how did you add this directory to
> exec-path, and why did you need to do it?
>
> First, "/mingw64/bin" is not a valid Windows absolute file name, since
> it lacks the drive letter.
>
> And second, Emacs's startup code expects the directories where Emacs
> should look for programs to be mentioned in the system-wide PATH
> variable. If your PATH doesn't include /mingw64/bin, then you should
> add it (assuming that there are program files there that Emacs is
> supposed to find and use).
>
> > Outside of mingw64, If I just click on bin/emacs.exe I get a console
> message :
> >
> > Warning: arch-dependent data dir
> '%emacs_dir%/libexec/emacs/28.0.50/x86_64-w64-mingw32/': No such
> > file or directory
> >
> > and an emacs abort dialog.
> >
> > If I launch emacs on the command line from within a mingw64 shell, it
> runs well.
>
> Is this specific to the native-comp branch, or does it also happen if
> you build and install the master branch?
>
[Message part 2 (text/html, inline)]
This bug report was last modified 4 years and 132 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.