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: martin rudalics
Subject: Re: Q: What is default architecture for code produced by native compiler?
Date: Thu, 26 Aug 2021 10:02:16 +0200

> 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



reply via email to

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