Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There's a handy program called yumdownloader installed as part of the yum-utils package. You probably have this on your system already, but if not, yum -y install yum-utils.

Then, run:

yumdownloader --source libstdc++

and you'll get the source RPM for that package. Unpack that (another topic in itself, if you've not done that before, make that another question), and you'll have the source plus any Fedora-applied patches.

Alternately, every package should contain the URL of the project from which that code came. You can get this by running

yum info libstdc++

and looking on the URL line. In this case, that points to, and you should be able to find the source there.