emacs-devel
[Top][All Lists]
Advanced

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

Re: Q: What is default architecture for code produced by native compiler


From: Arthur Miller
Subject: Re: Q: What is default architecture for code produced by native compiler?
Date: Thu, 26 Aug 2021 17:59:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

martin rudalics <rudalics@gmx.at> writes:

>> Btw, -O3 is not recommended, as it frequently produces a slower Emacs.
>
> Where do we say that?  INSTALL has
>
> Here's an example of a 'configure' invocation, assuming a Bourne-like
> shell such as Bash, which uses these variables:
>
>   ./configure \
>     CPPFLAGS='-I/foo/myinclude' LDFLAGS='-L/bar/mylib' \
>     CFLAGS='-O3' LIBS='-lfoo -lbar'
>
> (this is all one shell command).  This tells 'configure' to instruct the
> preprocessor to look in the '/foo/myinclude' directory for header
> files (in addition to the standard directories), instruct the linker
> to look in '/bar/mylib' for libraries, pass the -O3 optimization
> switch to the compiler, and link against libfoo and libbar
> libraries in addition to the standard ones.
>
> martin

Yes I pass my compiler flags to configure script that way.



reply via email to

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