Revealing my ignorance: Why doesn’t a static library project (in Visual Studio in my case) have linker settings in the project properties page? I thought “linking” was kind of a big deal re: libraries, but apparently I fundamentally misunderstand something.
Revealing my ignorance: Why doesn’t a static library project (in Visual Studio in my
Share
Making an executable is a three step process:
to object files.
archiver/librarian groups the object
files together into libraries (this
step is optional).
the object files and libraries together to create
a complete executable.
A library is just a collection of objects, which by definition have not been linked yet. The linker is not used to create the library, so it makes sense that there would be no linker options for it.