
Toolchains
Create a Static Library With ar and Link Against It
Build a static library from object files with ar rcs, link a program against it with -L and -l, and see how the linker pulls in only the members it needs.
6 min read
Tag
1 post

Build a static library from object files with ar rcs, link a program against it with -L and -l, and see how the linker pulls in only the members it needs.