[R-pkg-devel] use g++ instead of clang++ on Mac OS
Ralf, Thank you for the input. Does that mean also using a configure script would not work to make it use g++ instead of clang++ on Mac OS? Jan Jan Wijffels Statistician www.bnosac.be | +32 486 611708
On Thu, 24 Jan 2019 at 16:02, Ralf Stubner <ralf.stubner at daqana.com> wrote:
The manual on R extensions at
mentions that
It is possible to specify ?CXX11? to be a distinct compiler just for C++11?using packages, e.g. g++ on Solaris.
I tried to set such a directive in my src/Makevars file but appartently failed to set it correctly. How do I set in the src/Makevars such that
the
compilation is done using g++ instead of clang++
It is not possible to alter the compiler via src/Makevars, c.f. https://stat.ethz.ch/pipermail/r-package-devel/2017q4/002087.html. You have to use $HOME/.R/Makevars or $R_HOME/etc/Makeconf for that. Greetings Ralf -- Ralf Stubner Senior Software Engineer / Trainer daqana GmbH Dortustra?e 48 14467 Potsdam T: +49 331 23 61 93 11 F: +49 331 23 61 93 90 M: +49 162 20 91 196 Mail: ralf.stubner at daqana.com Sitz: Potsdam Register: AG Potsdam HRB 27966 Ust.-IdNr.: DE300072622 Gesch?ftsf?hrer: Dr.-Ing. Stefan Knirsch, Prof. Dr. Dr. Karl-Kuno Kunze
______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel