vendredi 30 novembre 2018

How to view C/C++ library source code on a Linux machine?

When I use a package manager like apt-get or yum on a Linux distro to install gcc and g++, how are they installed? Does the package manager only download header files, dynamic library, and compiler executable? or does it download the whole source code directory and compile them into .so and .a files?

I assume it uses the first approach considering space usage but is there any library source code (STL etc.) that I can view on the operating system?

Aucun commentaire:

Enregistrer un commentaire