Aritro Shome
Aritro Shome

Reputation: 221

How to use Linux headers on Windows using Cygwin?

After installing Cygwin, I have found all the tools to my satisfaction in the proper directories. But I can't figure out how to compile C++ code using headers like mman.h and dlfcn.h which are Linux specific headers ?

Upvotes: 0

Views: 1141

Answers (1)

dewaffled
dewaffled

Reputation: 2973

A quick search in cygwin package index reports mman.h in the core cygwin-devel package and dlfcn.h in mingw64-x86_64-dlfcn package.

Upvotes: 3

Related Questions