[CMake] Forcing linking compatability to old libc / libstdc++ (Linux)
Alexander Neundorf
a.neundorf-work at gmx.net
Sun Jan 29 16:36:16 EST 2017
On 2017 M01 26, Thu 18:23:05 CET Gonzalo Garramuño wrote:
> I currently own an Ubuntu Xenial 14.04.1 LTS box in which I do all my
> work. I distribute a binary image viewer. However, recently one of
> my users tried to run the viewer on a CentOS 7 distro and found out that
> that distro libc and libstdc++ are older and incompatible.
>
> I would like to compile my program targeting the older libc and
> libstdc++. Those files come with symbol version and visibility. Is
> there an easy way to do that other than copying the old libraries?
you may consider using docker to provide a build environment for an "old"
distribution (CentOS 7 is actually quite bleeding edge... ;-) )
There are some CentOS5 images on dockerhub.
Alex
More information about the CMake
mailing list