为什么 lib.exe 从最近的 WDK 版本中删除?

发布于 2024-10-06 00:34:40 字数 150 浏览 1 评论 0原文

这是一个错误吗? Visual Studio 2008 构建系统使用 lib.exe 创建静态库。我使用 WDK 的 setenv.bat 设置构建环境,然后启动 devenv.exe /USEENV。构建用户模式程序和 dll 可以工作,但由于缺少 lib.exe 静态库,无法构建。

Is this a bug? Visual studio 2008 build system uses lib.exe to create static libraries. I setup build environment with WDK's setenv.bat and then start devenv.exe /USEENV. Building user-mode programs and dlls works, but due to missing lib.exe static library can't be built.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

乖乖 2024-10-13 00:34:40

lib.exe 功能已移至 link.exe 中,请键入 link.exe /lib 了解详细信息(您应该获得与刚刚从 SDK 运行 lib.exe 相同的帮助)。

-斯科特

The lib.exe functionality has been moved into link.exe, type link.exe /lib for details (you should get the same help as you would if you had just run lib.exe from the SDK).

-scott

白芷 2024-10-13 00:34:40

这些是 WDK makefile 中的关键位:

!ifndef LIB_NAME
LIB_NAME=$(LINK_NAME) /lib
!endif

LIBRARIAN=$(LIB_NAME) /out:$@ $(LIBRARIAN_FLAGS)

!ifndef LINK_NAME
LINK_NAME=link.exe
!endif

换句话说,lib.exe {options} == link.exe /lib {options}

These are the crucial bits in the WDK makefile:

!ifndef LIB_NAME
LIB_NAME=$(LINK_NAME) /lib
!endif

LIBRARIAN=$(LIB_NAME) /out:$@ $(LIBRARIAN_FLAGS)

!ifndef LINK_NAME
LINK_NAME=link.exe
!endif

In other words, lib.exe {options} == link.exe /lib {options}

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文