Follow-up question: Re: [lug] g++ question: dynamic casts?

Tkil tkil at scrye.com
Thu Jan 31 10:52:47 MST 2002


>>>>> "DS" == D Stimits <stimits at idcomm.com> writes:

DS> But of course if you are releasing binary packages, that isn't a
DS> problem.

sadly, this isn't a true statement for C++, for all the reasons that
this thread has been about.  specifically, the ABI gives the interface
between programs and /usr/lib/libstdc++ ... which is built by a
particular compiler.

mozilla ran into this problem; for a while, i had to make a manual
symlink to the proper library.  i'm not sure how they fixed it, if
ever; one possibility is to ship the c++ libraries with your package
as a part of the binary build, and install it into a private library
area.

either way, it's a bit of a mess.  as Tom pointed out, however, there
should be some light at the end of the tunnel, with the 3.0 and higher
releases supporting a stable, standard, cross-platform ABI.

t.



More information about the LUG mailing list