Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 Mingw-W64 在 MSYS2 中构建 GNU Make,但由于缺少 pwd.h,Make 失败了。什么包提供了这个?
在这种情况下使用 MSYS2 有构建环境可能不合适。MSYS2 目前没有处理 unix 用户帐户和密码的工具。如果正在寻找getpwnam()和朋友,使用 Cygwin 或许可以帮助您到达那里。
getpwnam()