[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: linking libstdc++ statically in a shared object under linux
From: |
Paul Pluzhnikov |
Subject: |
Re: linking libstdc++ statically in a shared object under linux |
Date: |
22 Jan 2005 08:14:38 -0800 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence) |
Sigbert Klinke <sigbert@wiwi.hu-berlin.de> writes:
> We want to deliver our .so file for compilation, but
> such that can be used on any linux system. Is that possible at all ?
Yes, but it's tricky: even after you succeed in linking libstdc++.a
into your .so, you are not done yet. You must also "hide" all
libstdc++ symbols inside your .so, or else they may conflict with
user's libstdc++.so (if he has different version of g++ installed).
> I tried three different ways:
Search groups.google.com for message-ID: m3isjja8se.fsf@salmon.parasoft.com
which contains a recipe.
Currently that message is here:
http://groups-beta.google.com/group/comp.os.linux.development.apps/msg/ba5e8db73b87e97f?dmode=source
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.