How to merge two windows vc static library into on

2019-01-15 20:19发布

问题:

I am having a two static library a.lib and b.lib(of C language) which is generated using VC6 (Visual studio 6.0) .

I want to merge these two libs into one static lib c.lib. How to do this in CLI mode?

I have seen the merging of *nix static libs. I want to do the samething with VC6 static libs in CLI mode.

回答1:

LIB.EXE /OUT:c.lib a.lib b.lib

LIB.EXE is available in < VC6_InstalledFolder >/VC98/BIN. And this LIB.EXE is available in all versions of visual studio.