Re: [R-pkg-devel] use g++ instead of clang++ on Mac OS

2019-01-24 Thread Ralf Stubner
On 24.01.19 16:50, Jan Wijffels wrote: > 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? Yes, that also affects configure scripts. You might achieve this compiler switch by using src/Makefile, since that fie is

Re: [R-pkg-devel] use g++ instead of clang++ on Mac OS

2019-01-24 Thread Jan Wijffels
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 wrote: > > The manual on R extensions at > > >

Re: [R-pkg-devel] use g++ instead of clang++ on Mac OS

2019-01-24 Thread Ralf Stubner
> 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/Makev

[R-pkg-devel] use g++ instead of clang++ on Mac OS

2019-01-24 Thread Jan Wijffels
Hi, I'm trying to fix an issue with the ruimtehol R package https://github.com/bnosac/ruimtehol on Mac OS. The package contains C++ code following the C++11 standard. The package is built on Mac OS with clang++ but I would like to compile it with g++ instead. The manual on R extensions at https: