Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

libstd c++ implementation

22 views
Skip to first unread message

porp...@gmail.com

unread,
Jun 22, 2020, 5:47:44 AM6/22/20
to
Hi,

Does libstd c++ use libstd c implementation or both implementations are rather separate ? In particular does libstd c++ use its own wrappers to system calls or it uses the wrappers from libstd c. I'm most interested in gnu libstd c++ implementation.

Thank you for an answer.

Ian Collins

unread,
Jun 22, 2020, 6:09:46 AM6/22/20
to
Not really topical, but have you had a look?

ldd <some random C++ app>t
linux-vdso.so.1 (0x00007ffc191e0000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f1894295000)
libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f189407b000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f1893ca7000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1893909000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f18936f1000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1893300000)
/lib64/ld-linux-x86-64.so.2 (0x00007f18944b4000)

libc will always be there.

--
Ian.

porp...@gmail.com

unread,
Jun 22, 2020, 6:26:25 AM6/22/20
to
I looked at it but it answers my question only partially since libc may be used here only for "glue" code used e.g. during a binary is loaded/unloaded or for "new" implementation that is not really the essence of C++ library.
0 new messages