Re: [R-pkg-devel] Compiler choice on CRAN (R-windows-oldrel)

2016-08-25 Thread Mark van der Loo
Thanks Uwe. Very clear. I'll post the solution I chose, so people can find it later. The problem is that GCC <= 4.6.3 (at least) does not implement OpenMP reduction statements. So now I do something like this: #ifdef _OPENMP #include #endif #ifdef __GNUC__ #if __GNUC__ <= 4 & __GNUC_MINOR__ <=

Re: [R-pkg-devel] Compiler choice on CRAN (R-windows-oldrel)

2016-08-25 Thread Uwe Ligges
On 25.08.2016 13:14, Mark van der Loo wrote: Thank you Peter, good points. Good to know for sure (or a.s.) that compiler specification at CRAN is not an option. The 4th option is interesting as well. I may just do that. Thanks again! Mark For Windows, indeed, you are tight to gcc 4.6.3 for

Re: [R-pkg-devel] Compiler choice on CRAN (R-windows-oldrel)

2016-08-25 Thread Mark van der Loo
Thank you Peter, good points. Good to know for sure (or a.s.) that compiler specification at CRAN is not an option. The 4th option is interesting as well. I may just do that. Thanks again! Mark Op do 25 aug. 2016 om 12:17 schreef peter dalgaard : > I don't have hard info on ABI compatib

Re: [R-pkg-devel] Compiler choice on CRAN (R-windows-oldrel)

2016-08-25 Thread peter dalgaard
I don't have hard info on ABI compatibility between gcc versions, but there have been issues in the past, at least with with gfortran. Now, many people/schools will have R-3.2.x installed, built with gcc 4.6.y. We cannot retroactively recompile their installation, nor expect them to install a n