Creating Static Libraries in C/C++
Static libraries can be easily created in C or in C++. These two languages provide storage-class specifiers for indicating external or internal linkage, in addition to providing other features.
To create such a library, the exported functions/procedures and other objects variables must be specified for external linkage (i.e. by not using the C static
keyword).
Static libraries usually have a ".lib" extension on Windows and a ".a" on UNIX
Read more about this topic: Static Library
Famous quotes containing the words creating and/or libraries:
“A designer who is not also a couturier, who hasnt learned the most refined mysteries of physically creating his models, is like a sculptor who gives his drawings to another man, an artisan, to accomplish. For him the truncated process of creating will always be an interrupted act of love, and his style will bear the shame of it, the impoverishment.”
—Yves Saint Laurent (b. 1936)
“riding flatcars to Fresno,
Across the whole country
Steep towns, flat towns, even New York,
And oceans and Europe & libraries & galleries
And the factories they make rubbers in”
—Gary Snyder (b. 1930)