Static and Dynamic Linking on Linux with gcc

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

This video explains details for how static and dynamic linking works on Linux systems when compiling with GCC.

One thing not mentioned in the video is that when linking statically using the -static option, the linker will look for a static archive (.a) file. For example, when linking statically with libc, it will look for libc.a instead of libc.so. You won't be able to link statically unless there is a static archive of your library available.

Комментарии

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