[CMake] Comaptibility with older gcc
Hendrik Sattler
post at hendrik-sattler.de
Fri Jan 27 13:05:19 EST 2017
It depends very much on your target system. The C++-ABI between 4.9 and 4.1 may be compatible but that is not guaranteed. C++14 is also a bit unspecific: language features or library features? Does your library expose any C++11/14 features in its interface?
It may just not be possible after all...
Am 27. Januar 2017 18:04:17 MEZ schrieb Michele Portolan <michele.portolan at grenoble-inp.fr>:
>I have a project that build correctly using gcc 4.9.3, generating a
>dynamic library that I can later link to obtain my executables. So,
>nothing special.
>
>My problem is that on one of my target systems, I only have a gcc 4.1.2
>
>and I am forced to use it for at least linking the last executable. My
>
>project uses extensively C++14,so I cannot build it with the older gcc.
>
>Is there a way to have Cmake generate a library that is compatible with
>
>gcc 4.1.2?
>
>Regards,
>
>
>Michele
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
More information about the CMake
mailing list