[geos-devel] C++ version, documentation and --std flags

Greg Troxel gdt at lexort.com
Mon Oct 8 16:42:50 PDT 2018


Greg Troxel <gdt at lexort.com> writes:

> On the question of how linking with geos_c is supposed to work,things
> look good -- the C++ library has a NEEDED elf note for libstdc++, and
> the c library calls for the c++ library.  Why geos_c calls for libstdc++
> directly I don't understand, but I don't see that it would cause
> problems -- the idea that one owuld upgrade libstdc++ and rebuild
> libgeos but not libgeos_c does not seem credible.

I was confused - the geos_c library of course is implemented in C++ and
thus needs libstdc++.  It's only users of geos_c that don't need
libstdc++.

So everything I have looked at in geos seems exactly right.


More information about the geos-devel mailing list