POSIX compliant header files support


I am trying to compile an application written in FORTRAN and C in the
Cygwin environment shipped with PGI Workstation. The C files
have some POSIX compliant header files like unistd.h, sys/time.h,
sys/resources.h . The PGI Cygwin complains that these header files are not

Any suggestion on how should I make them available with PGI Cygwin
environment ?

Thanks & Regards,

Hi Kunal,

You’ll need to port your code to use Windows equivalent headers and routine calls. The PGI compilers produce native Window’s binaries and use the Window’s system headers and libraries.

  • Mat