This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
libstdc++ compatibility question on Linux x86
- From: "Bo Xie" <xiebopublic at gmail dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Sat, 18 Nov 2006 12:58:42 +0800
- Subject: libstdc++ compatibility question on Linux x86
Hi all,
I am developing a commerical dynamic link library (.so) for Linux x86.
I mean I must support different Linux x86 platforms (such as RHEL
3/4/5, SLES 9/10, etc). Must I compile different binary (.so) for
different Linux x86 platforms (such as RHEL 3/4/5, SLES 9/10, etc)?
Can I compile once (e.g., on SLES 9) and the .so can run on every
Linux x86 platforms?
Note: My .so file uses std c++ library.
AFAIK, different platform uses different GCC and std c++ library.
Because my .so is not an open source project, I can not provide source
code to let the .so caller compile the source code by themselves.
Any suggestions? Thanks very much!