From: <Heiko.Papenfuss@uniserv.com>
To: <gcc-help@gcc.gnu.org>
Subject: Using libstdc++.so with a newer version of glibc without recompiling
Date: Thu, 07 Mar 2013 09:24:00 -0000 [thread overview]
Message-ID: <CC9D3B881635BE4693C810D74A1DD8450B407C7B@exchange2.uniserv.de> (raw)
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
next reply other threads:[~2013-03-07 9:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-07 9:24 Heiko.Papenfuss [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CC9D3B881635BE4693C810D74A1DD8450B407C7B@exchange2.uniserv.de \
--to=heiko.papenfuss@uniserv.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).