[opensuse-programming] glibcxx
How are glibcxx and libstdc++ related? Is glibcxx the same as libstc++, if yes: Why are there two names? -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
On Friday 22 January 2010 12:18:26 Volker wrote:
How are glibcxx and libstdc++ related?
Is glibcxx the same as libstc++, if yes: Why are there two names?
GLIBCXX is an ELF version string, not a package or file. libstdc++ 'provides' a certain version of GLIBCXX to the linker, so if a build says it needs GLIBCXX of a certain version, what you need to do is to find the version of libstdc++ that offers it. Anders -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
On Friday 22 January 2010 14:14:07 Anders Johansson wrote:
On Friday 22 January 2010 12:18:26 Volker wrote:
How are glibcxx and libstdc++ related?
Is glibcxx the same as libstc++, if yes: Why are there two names?
GLIBCXX is an ELF version string, not a package or file.
libstdc++ 'provides' a certain version of GLIBCXX to the linker, so if a build says it needs GLIBCXX of a certain version, what you need to do is to find the version of libstdc++ that offers it.
I see, thanks for the answer. After some research I figured objdump and ldd can be used to inspect provided and required versions. Can ld be instructed to link against a specific version of a library? The problem i'm trying to solve is that my c++ binaries created in 11.2 do not run on 11.0/1 because of GLIBCXX version conflicts. Regards ......Volker
Anders
-- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
On 01/22/2010 09:25 AM, Volker wrote:
On Friday 22 January 2010 14:14:07 Anders Johansson wrote:
On Friday 22 January 2010 12:18:26 Volker wrote:
How are glibcxx and libstdc++ related?
Is glibcxx the same as libstc++, if yes: Why are there two names?
GLIBCXX is an ELF version string, not a package or file.
libstdc++ 'provides' a certain version of GLIBCXX to the linker, so if a build says it needs GLIBCXX of a certain version, what you need to do is to find the version of libstdc++ that offers it.
I see, thanks for the answer.
After some research I figured objdump and ldd can be used to inspect provided and required versions.
Can ld be instructed to link against a specific version of a library?
The problem i'm trying to solve is that my c++ binaries created in 11.2 do not run on 11.0/1 because of GLIBCXX version conflicts.
Specifically, glibc is the C language run-time library where libstdc++ is specifically for C++. Basically, there is always a problem when you build on a specific release and try to run on an older release you are asking for trouble. It is much safer to build on an older release because most libraries are backward compatible. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix PGP key id: 537C5846 PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB CA3B 4607 4319 537C 5846
participants (3)
-
Anders Johansson
-
Jerry Feldman
-
Volker