On Fri, 1 Oct 2021, Greg Troxel wrote:
Paul Ramsey <pram...@cleverelephant.ca> writes:
That feels... off the reservation for a library and something for the final
build? Like, not every platform requires that link, I don't think.
My quick reaction is that -lstdc++ seems funny for things that are
compiled as C++, but if there's a link line intended to be called in a C
build that's perhaps something else. I'll see how that turns out on
NetBSD shortly.
Yes, R is C not C++, so the R contributed package (rgeos, sf, ...) DLL on
Windows from msys2 is seen as C rather than C++, see for example:
https://developer.r-project.org/Blog/public/2019/03/28/use-of-c-in-packages/index.html
for a discussion of general issues. The specific need here is triggered
when building binary contributed packages for macOS and Windows (here the
Windows case with gcc and msys2). See also:
https://github.com/rsbivand/foss4g21/blob/main/bivand_foss4g_210930.pdf
from the FOSS4G R-spatial panel two days ago, slides 2-3.
Roger
--
Roger Bivand
Emeritus Professor
Department of Economics, Norwegian School of Economics,
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway.
e-mail: roger.biv...@nhh.no
https://orcid.org/0000-0003-2392-6140
https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en
_______________________________________________
geos-devel mailing list
geos-devel@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/geos-devel