This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Static libstdc++ and dynamic libs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]