Cygwin User's Guide

DJ Delorie

Pierre Humblet

Geoffrey Noer

Copyright © 1998,1999 Cygnus Solutions.


Table of Contents
1. Cygwin Overview
What is it?
Are the Cygwin tools free software?
A brief history of the Cygwin project
Expectations for UNIX Programmers
Expectations for Windows Programmers
Highlights of Cygwin Functionality
Introduction
Supporting both Windows NT and 9x
Permissions and Security
File Access
Text Mode vs. Binary Mode
ANSI C Library
Process Creation
Signals
Sockets
Select
2. Setting Up Cygwin
Cygwin Contents
Installing the binary release
Installing the source code
Directory Structure
Environment Variables
Customizing bash
3. Using Cygwin
Mapping path names
Win32 and POSIX paths
Mount point types
Where to mount
Text and Binary modes
The Issue
The default Cygwin behavior
Example
Binary or text?
Programming
File permissions
Special filenames
DOS devices
POSIX devices
The .exe extension
The @pathnames
The CYGWIN environment variable
Cygwin Utilities
cygcheck
cygpath
kill
mkgroup
mkpasswd
passwd
mount
ps
umount
4. Programming with Cygwin
Using GCC with Cygwin
Console Mode Applications
GUI Mode Applications
Debugging Cygwin Programs
Building and Using DLLs
Building DLLs
Linking Against DLLs
Defining Windows Resources