[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: help with gcc-3.2 related bug



Daniel Jacobowitz <dan@debian.org> writes:

> Well, presumably he is linking using gcc to avoid libstdc++; is there
> anything besides the missing library which g++ would change?

Yes, there are minor differences: g++ adds -lm -lgcc_s, gcc adds -lgcc
(or -lgcc_eh). Those shouldn't make a difference, though.

> Fernando, you may want to try adding -lsupc++ when building with GCC
> 3.2.

This seems risky for building a DSO: libsubc++ is a static library, so
the symbols will be incorporated into libsablot, and then re-exported
from it. Applications that link with libsablot may find that the set
of symbols changes from one libsablot release to another; they may
also find that they have multiple definitions of RTTI objects, which
may interfere.

Regards,
Martin



Reply to: