public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Using libstdc++.so with a newer version of glibc without recompiling
@ 2013-03-07  9:24 Heiko.Papenfuss
  2013-03-07  9:45 ` Jonathan Wakely
  0 siblings, 1 reply; 7+ messages in thread
From: Heiko.Papenfuss @ 2013-03-07  9:24 UTC (permalink / raw)
  To: gcc-help

Hi,

I have a question regarding the dependency of libstdc++.so.6 on libc.so.6:

If changing the underlying glibc version libc.so.6 is pointing to to a
higher version (e.g. from libc-2.4.so to libc-2.7.so), is it expected that
the libstdc++.so.6 will still work correctly when used by a program? Or is
it necessary to recompile GCC under the new glibc and all our with this
new GCC as well?

The background to this question is that I need to compile a C++ program that
uses a shared library which requires a newer version of glibc than the one
that is present in the system. I cannot change the system's glibc nor the
GCC, so I try to figure out a way to do this by using my own version of
glibc without changing anything else.

Best regards,

Heiko

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-11  8:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-07  9:24 Using libstdc++.so with a newer version of glibc without recompiling Heiko.Papenfuss
2013-03-07  9:45 ` Jonathan Wakely
2013-03-07 13:56   ` Heiko.Papenfuss
2013-03-07 13:59     ` Michael Powell
2013-03-11  8:06       ` Heiko.Papenfuss
2013-03-07 14:37     ` Jonathan Wakely
2013-03-11  8:10       ` Heiko.Papenfuss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).