Search code examples
msys2

Cannot find libc headers in MSYS2


I'm trying to build GNU Make in MSYS2 using Mingw-W64 but Make fails because pwd.h is missing. What package provides this?


Solution

  • Using MSYS2 has build environment in this case might not be appropriate. MSYS2 has no facility to deal with unix user accounts and passwords for now. If looking for getpwnam() and friends, using Cygwin may be able to help you get there.