emacs-devel
[Top][All Lists]
Advanced

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

Re: If I choose not to enable native-compile, why does configure complai


From: Eli Zaretskii
Subject: Re: If I choose not to enable native-compile, why does configure complain so much?
Date: Wed, 20 Mar 2024 15:07:32 +0200

> From: Andrea Corallo <acorallo@gnu.org>
> Cc: emacs-devel <emacs-devel@gnu.org>
> Date: Wed, 20 Mar 2024 06:05:14 -0400
> 
> Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:
> 
> > Hi,
> >
> > When I compile Emacs for macOS, I disable native-compilation for good:
> >
> > ./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig \
> >             LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" \
> >             CC=clang OBJC=clang CFLAGS="-g -O3"
> >             --with-ns --with-modules --with-jansson \
> >             --with-native-compilation=no
> >
> > I know what I’m doing and I don’t know why I get all these messages:
> >
> > checking for gcc_jit_context_acquire in -lgccjit... no
> > configure: WARNING: Elisp native compiler can't be enabled as libgccjit was 
> > not
> > found.
> > Please try installing libgccjit or a similar package if you want to have it
> > enabled.
> > checking for libgccjit.h... no
> > configure: WARNING: Elisp native compiler can't be enabled as libgccjit 
> > header files
> > were not found.
> > Please try installing libgccjit-dev or a similar package if you want to 
> > have it
> > enabled.
> >
> > I really DO NOT want notice compilation here…and I know that I’m doing.
> >
> > Just a bit bored by unwanted messages…
> > /PA
> 
> Hello Pedro,
> 
> no need to be frustrated, this is just a bug :)

Are we sure there's a bug?  My reading of configure.ac is that the
libgccjit test is only done if the value of with_native-compilation is
"default", but not if it is "no".  So I suspect some cockpit error;
perhaps the command was typed incorrectly?



reply via email to

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