Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1230233
  • 博文数量: 124
  • 博客积分: 7074
  • 博客等级: 少将
  • 技术积分: 1336
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-15 16:37
文章分类
文章存档

2011年(3)

2010年(18)

2009年(8)

2008年(14)

2007年(81)

分类:

2007-10-18 23:12:45

 

What Is Cygwin?

Cygwin is a Linux-like environment for Windows. It consists of two parts:
  • A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.
  • A collection of tools which provide Linux look and feel.

    The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE.

    Note that the official support for Windows 95, Windows 98, and Windows Me will be discontinued with the next major version (1.7.0) of Cygwin.

    What Isn't Cygwin?

  • Cygwin is not a way to run native linux apps on Windows. You have to rebuild your application from source if you want it to run on Windows.
  • Cygwin is not a way to magically make native Windows apps aware of UNIX ® functionality, like signals, ptys, etc. Again, you need to build your apps from source if you want to take advantage of Cygwin functionality.

  • (using setup.exe)

    Installing and Updating Cygwin

    The latest net releases of the Cygwin DLL are numbered 1.n.x, where "n" is currently "5" (e.g., 1.5.24). Any Cygwin program built from December 1998 onward should work correctly with 1.n.x DLLs.

    The 1.n.x version numbering refers only to the Cygwin DLL. Individual packages like bash, gcc, less, etc. are released independently of the DLL. The utility tracks the versions of all installed components and provides the mechanism for installing or updating everything available from this site for Cygwin.

    Run any time you want to update or install a Cygwin package.

    Note that, when installing packages for the first time, setup.exe does not install every package. Only the minimal base packages from the Cygwin distribution are installed by default. Clicking on categories and packages in the setup.exe package installation screen will provide you with the ability to control what is installed or updated. Clicking on the "Default" field next to the "All" category will provide you with the opportunity to install every Cygwin package. Be advised that this will download and install hundreds of megabytes to your computer. The best plan is probably to click on individual categories and install either entire categories or packages from the categories themselves.

    Once you've installed your desired subset of the Cygwin distribution, setup.exe will remember what you selected so rerunning the program will update your system with any new package releases.

    NOTE:GNU C,C++ Compiler.

    阅读(2817) | 评论(0) | 转发(0) |
    给主人留下些什么吧!~~