Creating and Linking Static Libraries on Linux with gcc

Описание к видео Creating and Linking Static Libraries on Linux with gcc

This video gives an introduction to static libraries. It will show you how to create static libraries on Linux using gcc and how to correctly link with them when compiling.

One thing is not clearly stated in the video is that when linking statically using the -static option, the linker will look for a static archive (.a) file for the specified library. In some cases, only a shared library (.so) is available on the system. If the corresponding static archive (.a) were not available, then it would not be possible to statically link this library.

Комментарии

Информация по комментариям в разработке