[R-pkg-devel] use g++ instead of clang++ on Mac OS
Ralf Stubner
r@||@@tubner @end|ng |rom d@q@n@@com
Thu Jan 24 16:02:31 CET 2019
> The manual on R extensions at
> https://cran.r-project.org/doc/manuals/R-exts.html#Using-C_002b_002b11-code
> 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 using 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-package-devel/attachments/20190124/be780333/attachment.sig>
More information about the R-package-devel
mailing list