Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to merge two windows vc static library into one

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.

like image 764
rashok Avatar asked Nov 21 '12 11:11

rashok


1 Answers

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.

like image 179
rashok Avatar answered Sep 28 '22 19:09

rashok