* Way to use g++2.96 lib in g++3.x compiled app?
@ 2003-12-03 20:45 Brian Olsen
0 siblings, 0 replies; only message in thread
From: Brian Olsen @ 2003-12-03 20:45 UTC (permalink / raw)
To: gcc-help
The folks at Lizard Tech have a g++ 2.96 compiled library for decoding
the MrSID image format. I emailed them about getting a g++ 3.3 compiled
library instead and they blew me off.
Anyways, this doesn't fix my problem of having to integrate this
library. I don't want to back port all my code just because of a stupid
vendor.
My idea to get this to work is:
- Write a 'c' wrapper with the minimal functionality I need.
- Compile 'c' wrapper with g++ 2.96
- Resove the libstdc++ and MrSID library symbols in the 'c' wrapper
using g++ 2.96.
This should leave only 'c' compatible symbols in the wrapper .o file.
I've already written the 'c' wrapper and can compile it no problem.
But what I don't know is how to selectively resolve symbols from just
the 2.96 libstdc++ and MrSID libraries.
Can anyone point me to what options for ld (if any) or some other
binutils type utility that I could use to do this?
Or am I just plain SOL?
--
bolsen at pixxures dot com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-12-03 20:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-03 20:45 Way to use g++2.96 lib in g++3.x compiled app? Brian Olsen
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).