Linking to proprietary C++ library in old ABI format using gcc-3. 2

Nathan Sidwell nathan@codesourcery.com
Wed Dec 10 17:45:00 GMT 2003


Nic Groenewald wrote:
> Hi,
> 
> We have just finished preliminary porting of a product from Tru64 to SuSe
> Linux 8 (UL 1.0). Unfortunately we ran into a well known "problem" in that
> the ABI has changed somewhere between gcc-2.95 and gcc-3.2. We make use of a
> proprietary C++ library which the vendor is only able to supply to us as
> compiled by gcc-2.95. As it would be a major undertaking for us to move to
> another database/C only version of their library I was wondering/hoping
> there are other solutions out there.
To ensure binary compatibility you will have to use gcc-2.95.

> We have had a stab at getting our source to compile with gcc-2.95 but
> straight away ran into problems in that std::wstring is not available for
> the libstdc++ shipped with it. We also make heavy use of exceptions &
> templates in our source and are not sure whether we would get the required
> level of support in 2.95. Has anyone tried compiling the newer libstdc++ (as
> shipped with gcc-3.x) with gcc-2.95 ?
I do not know.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
          The voices in my head said this was stupid too
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the Gcc-help mailing list