bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#53497: 29.0.50; native-compile after restarting Emacs


From: Eli Zaretskii
Subject: bug#53497: 29.0.50; native-compile after restarting Emacs
Date: Mon, 24 Jan 2022 15:45:12 +0200

> From: Arash Esbati <arash@gnu.org>
> Cc: larsi@gnus.org,  53497@debbugs.gnu.org
> Date: Mon, 24 Jan 2022 14:33:25 +0100
> 
> I build Emacs with a small script like this, nothing specific (AFAICT):
> 
> time ( \
>     git clean -fdx --exclude=ChangeLog
>     ./autogen.sh &&             \
>     CPPFLAGS='-DNDEBUG'         \
>     CFLAGS='-O3 -g0 -pipe'      \
>     LDFLAGS='-s -Wl,-s'         \
>     ./configure                 \
>     --host=x86_64-w64-mingw32   \
>     --target=x86_64-w64-mingw32 \
>     --build=x86_64-w64-mingw32  \
>     --with-jpeg                 \
>     --with-gif                  \
>     --with-xpm                  \
>     --with-png                  \
>     --with-tiff                 \
>     --with-rsvg                 \
>     --with-webp                 \
>     --with-sqlite3              \
>     --with-xml2                 \
>     --with-gnutls               \
>     --with-lcms2                \
>     --with-modules              \
>     --with-threads              \
>     --with-native-compilation   \
>     --with-native-image-api     \
>     --without-imagemagick       \
>     --without-dbus              \
>     --without-gconf             \
>     --without-gsettings         \
>     --without-compress-install  \
>     --without-mailutils         \
>     --without-pop  &&           \
>     make -j8 && make install prefix=/z/emacs-install )

Why are you installing under a different prefix than used at configure
time?

> - I killed Emacs
> - Moved all files in ~/.emacs.d/eln-cache/ to another directory
> - Started "emacs -Q"
> - No native compilation at all in ~/.emacs.d/eln-cache/, not a single
>  .eln is generated
> 
> I guess this is not the expected behavior, right?

What did you do after starting "emacs -Q"?  It isn't enough to start
Emacs, you need to cause it to load some package before it will start
compiling that package.





reply via email to

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