General How to run the gcc under cygwin? Set the follwing properties in your project.properties: maven.native.include.os=win32 maven.native.compiler.arg.start=-mno-cygwin maven.native.linker.arg.start=-mno-cygwin -Wl,--add-stdcall-alias