21

I downloaded the GNU Standard C Library (glibc) source code at http://ftp.gnu.org/gnu/glibc/. Where can I find a similar download for their C++ Library?

I have googled around a bit and cannot seem to find it.

The only reason I need it is I want to see how it is implemented. So please don't give me links to binaries or to just the header files because it is the implementation source files that I am looking for.

Matt
  • 21,026
  • 18
  • 63
  • 115

2 Answers2

13

It's in the libstdc++-v3 directory in the g++ (gcc-c++) sources.

Mike DeSimone
  • 41,631
  • 10
  • 72
  • 96
  • How can I download that though, without having to download each file individually? – Matt Jun 03 '12 at 15:34
  • 1
    Ok I figured out how to access the svn repository to download that same directory. – Matt Jun 03 '12 at 16:25
  • 11
    Now it is under github: https://github.com/gcc-mirror/gcc/tree/master/libstdc%2B%2B-v3 – Halil Apr 22 '15 at 13:33
4

GCC mirror sites: https://gcc.gnu.org/mirrors.html Looking for what you want.

huoyao
  • 131
  • 1
  • 5