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

libtool pulls in libstdc++ for cairo and thus gtk+, this is problematic for g-i.



Hi Kurt, ...

We are here at the extremadura graphical installer meeting, working on the new
2.8.10 based gtk-directfb, and i am working on library reduction for making the
ramdisk image smaller. I thus noticed that cairo and thus gtk-directfb is
linked against libstdc++, but cairo is absolutely not using c++ at all.

I have traced the provenance of libstdc++ to libtool containing :

libtool:postdeps="-lstdc++ -lm -lgcc_s -lc -lgcc_s"

which seems strange to me, i have absolutely no idea where it comes from, and
since libtool is generated by ltmain.sh, and ltmain.sh has absolutely no
instance of a stdc++ string, so i am trully lost.

Maybe you have some insight which would help me advance on this, or some idea
how to fix this ?

It seems that this behavior did change somewhen prior to christmas, so
probably in version 1.5.22-1.

Friendly,

Sven Luther



Reply to: