I am trying to cross compile a library on a linux machine. The libstdc++.a that comes with the toolchain is not compiled with fPIC and it is binary only. I would like to use the so file instead. However libtool keeps linking libstdc++.a (as whole-archive) and I get relocation errors. Any ideas about how to work around this?
_______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool