0
votes

I want to make link File which in that link file there are more file. Example, I want to combine several library files into one to make it easier to compile. If on Linux, i use the command :

ar -c

How about in windows?

1

1 Answers

0
votes

The Microsoft tool for managing static libraries is a called lib. It will be provided with MS Visual C++ or a developer SDK. To build a static library mylibrary.lib with it, run:

>lib mylibary.lib file0.obj file1.obj ... filen.obj

at the Developer command propmpt.

Here is the documentation

The file format of lib archives is the same as that of Unix ar archives.