7

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.

Community
  • 1
  • 1
rashok
  • 12,790
  • 16
  • 88
  • 100

1 Answers1

16

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.

Guillaume Jacquenot
  • 11,217
  • 6
  • 43
  • 49
rashok
  • 12,790
  • 16
  • 88
  • 100