24.3. Writing a Cygwin-Friendly Package
One approach to using the Cygwin support, offered by GNU Autotools in your own package, is to have an eye for having it compile nicely on Unix and on Windows, or indeed, for tweaking the configuration of existing packages that use GNU Autotools, but do not compile under Cygwin, or do not behave quite right after compilation. You need to be aware of several things to design a package to work seamlessly under Cygwin, and several more if portability to DOS and (non-Cygwin) Windows is important too. Section 14.3.5, "Unix/Windows Issues," discussed many of these things.
This section expands on those issues with ways in which GNU Autotools can help deal with them.
If you need to build only executables and static ...
Get GNU Autoconf, Automake, and Libtool now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.