[R-pkg-devel] How to R CMD build / check using LTO

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Wed Feb 17 21:32:13 CET 2021

On Wed, 17 Feb 2021 20:04:34 +0100
Paul Schmidt-Walter <paul.schmidt-walter using posteo.de> wrote:

> I simply don't know how to "build with configure --enable-lto"

"R Installation and Administration"
contains a detailed set of instructions on how to compile R, including
section 2.7.4 about the use of LTO. Start with Appendix A, which lists
the packages you would need to install on your Ubuntu (basically,
build-essential, gfortran and the libraries mentioned there). Good luck!

Best regards,

More information about the R-package-devel mailing list