У нас вы можете посмотреть бесплатно [Day 16] - Static and Dynamic Libraries (ar, objdump, ld, ldd) - Crash Course in C Programming или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
►C Programming playlist: • C Programming Series ►Find full courses on: https://courses.mshah.io/ ►Join as member to get perks: / @mikeshah ►Lesson Description: In this lesson I show you how to create both static and shared libraries on linux. Static and shared libraries are both ways to allow for code reuse, and another way to break large projects into smaller more manageable pieces. Using libraries can also have advantages in our build systems, by allowing for separate compilation for instance. 00:00 introduction 00:50 ldd tool usage 2:28 Physical structure of project 3:12 Header guards 5:08 The include directory (-I) 6:30 Building individual .o object files as static library 10:10 Creating two .o files. 11:50 Compiling with two .o files 12:18 The advantage of separate compilation of our .o files 13:55 The archive (ar) tool. 17:00 The advantage and use case of shared object (.so) files 18:10 Building a shared library with position independent code 20:30 Understanding include and linking errors (undefined reference) 22:48 Understanding format of how to link libraries with -l (lowercase L) 25:40 LD_LIBRARY_PATH to utilize our shared libraries 27:40 Summary 31:26 dlopen preview 32:11 Conclusion ►Please like and subscribe to help the channel! ►YouTube Channel: / mikeshah ►Join our free community: https://courses.mshah.io/communities/...