This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Tue, 13 Dec 2005, Nuno Lopes mused:(...)On Mon, 12 Dec 2005, Nuno Lopes stipulated:Update: I've tried to compile some sample sources, but linking has failed with:
Yeah, linking two libraries using incompatible versions of libstdc++ will be tricky, requiring linking against *both* copies using -Bgroup. (It's best to experiment using little testbed shared libraries exporting symbols of the same name, printing out different things from each shared library, until you grasp how -Bgroup works. It can be counterintuitive.)
But I supposed that compiling it with proper -fabi-version would do the trick..
If you do that *and* point the libstdc++.so symlink to libstdc++.so.5, you should be OK. (I didn't think of that. Oops.)
If you repoint the .so (no need to do anything with the .so.[56] files themselves) and use the right -fabi-version, everything should just work, I hope. (I didn't think of that, even though in hindsight it's bloody obvious. Ah well. It's *much* more likely to work than messing with -Bgroup.)
Attachment:
openr_gcc4.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |