如何将两个windows vc静态库合二为一 [英] How to merge two windows vc static library into one

查看:25
本文介绍了如何将两个windows vc静态库合二为一的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个静态库 a.libb.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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆