如何将两个Windows VC静态库合并为一个 [英] How to merge two windows vc static library into one
本文介绍了如何将两个Windows VC静态库合并为一个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有两个静态库a.lib
和b.lib
(C语言),它们是使用VC6(Visual Studio 6.0)生成的.
I am having a two static library a.lib
and b.lib
(of C language) which is generated using VC6 (Visual studio 6.0) .
我想将这两个库合并为一个静态库c.lib
.如何在CLI模式下执行此操作?
I want to merge these two libs into one static lib c.lib
. How to do this in CLI mode?
我已经看到 * nix静态库的合并. 我想在CLI模式下对VC6静态库执行相同的操作.
I have seen the merging of *nix static libs. I want to do the samething with VC6 static libs in CLI mode.
推荐答案
LIB.EXE/OUT:c.lib a.lib b.lib
LIB.EXE在<中可用. VC6_InstalledFolder>/VC98/BIN.此LIB.EXE在所有版本的Visual Studio中都可用.
LIB.EXE is available in < VC6_InstalledFolder >/VC98/BIN. And this LIB.EXE is available in all versions of visual studio.
这篇关于如何将两个Windows VC静态库合并为一个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文