Skip to content
Back to formatted view

Raw Message

Message-ID: <CAJ9GNa=NGc7gP1ev2J_DjE-23UHe-4OEXGJ+_gmA9LwN-gBd_Q@mail.gmail.com>
Date: 2019-01-24T15:50:51Z
From: Jan Wijffels
Subject: [R-pkg-devel] use g++ instead of clang++ on Mac OS
In-Reply-To: <2073c8aa-600f-2a34-1201-5b20dcbccf1d@daqana.com>

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
> >
> 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 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
>

	[[alternative HTML version deleted]]