[R-pkg-devel] How to R CMD build / check using LTO
On Wed, 17 Feb 2021 20:04:34 +0100
Paul Schmidt-Walter <paul.schmidt-walter at posteo.de> wrote:
I simply don't know how to "build with configure --enable-lto"
"R Installation and Administration" <https://cran.r-project.org/doc/manuals/r-release/R-admin.html> 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, Ivan