How to merge two windows vc static library into one

大憨熊 提交于 2019-11-26 14:52:48

问题


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.



来源:https://stackoverflow.com/questions/13492365/how-to-merge-two-windows-vc-static-library-into-one

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!