在 Windows 7 64 位下,来自 System32 的 *32.dll 是 64 位库(根据 Dependency Walker - depends.exe x64)。我注意到一个奇怪的问题是,例如cp /c/System32/ws2_32.dll /c/mingw64/some/lib/libws2_32.dll
,在 MSYS Shell 中做的事情是将 DLL 破坏/转换为 32 位文件(仍然根据 Dependency Walker)......通过 Windows 资源管理器复制/重命名它时保持不变......仍然诡异的。如果有人有解释...
还是我错过了有关cp
命令用法的一些内容...
注意:我已经尝试过类似--preserve=all
or的选项--symbolic-link
。
谢谢。