Hi,
I want to read the source code of a function in C standard library.
How could I find the glibc source code in system?
and what about the C++ STL source code?
Thanks!



Code: Select all
ebuild /full/path/to/ebuild unpack
Yes, it is in library libstdc++, which is provided by GCC. Code can also be viewed here: https://gcc.gnu.org/git/?p=gcc.gitnick_gentoo wrote:The C++ standard library code is directly in gcc, I think...