Static libstdc++ and dynamic libs
Frédéric RISS
frederic.riss@st.com
Mon May 26 08:15:00 GMT 2003
Hello,
We are coding in C++ and delivering some dynamic libraries to our
customers. Of course, the libraries we build depend on libstdc++.so, but
we would like to get rid of this dependency. What we would like to do is
to build our libfoo.so with a static libstdc++.a so that libfoo only
depends on libc.so.
I spent some time trying to make it work, but I'm not sure it's possible
to build a shared lib including a static one, so I ask here before I
waste too much time.
Is it possible ? If yes, is there any magic command line line option to
maker it work ?
Regards,
--
Frédéric RISS <frederic.riss@st.com>
STMicroelectronics - DAIS
More information about the Gcc-help
mailing list