⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 overview.sgml

📁 cygwin, 著名的在win32下模拟unix操作系统的东东
💻 SGML
字号:
<chapter id="overview"><title>Cygwin Overview</title><sect1 id="what-is-it"><title>What is it?</title><para>The Cygwin tools are ports of the popular GNU developmenttools and utilities for Windows NT and 9x. They function through theuse of the Cygwin library which provides the UNIX system calls andenvironment that these programs require.</para><para>With the tools installed, programmers may write Win32console or GUI applications that make use of the standard MicrosoftWin32 API and/or the Cygwin API. As a result, it is possible toeasily port many significant UNIX programs without the need forextensive changes to the source code.  This includes configuring andbuilding most of the available GNU software (including the developmenttools included with the Cygwin distributions). Even if thecompiler tools are of little to no use to you, you may haveinterest in the many standard UNIX utilities. They can be used bothfrom the bash shell (provided) or from the command.com.</para></sect1><sect1 id="are-free"><title>Are the Cygwin tools free software?</title><para>Yes. Parts are GNU software (gcc, gas, ld, etc...), parts arecovered by the standard X11 license, some of it is public domain,some of it was written by Red Hat and placed under the GPL. None of itis shareware. You don't have to pay anyone to use it but you should besure to read the copyright section of the FAQ for more information onhow the GNU General Public License may affect your use of thesetools. If you intend to port a proprietary application using the Cygwinlibrary, you may want the Cygwin proprietary-use license.For more information about the proprietary-use license, please go to<ulink URL="http://www.redhat.com/software/tools/cygwin/">http://www.redhat.com/software/tools/cygwin/</ulink>.  Customers of the native Win32 GNUPro should feel free to submit bugreports and ask questions through the normal channels.  All otherquestions should be sent to the project mailing list<email>cygwin@cygwin.com</email>.</para></sect1><sect1 id="brief-history"><title>A brief history of the Cygwin project</title><para>The first thing done was to enhance the development tools (gcc,gdb, gas, et al) so that they could generate/interpret Win32 nativeobject files.</para><para>The next task was to port the tools to Win NT/9x. We could havedone this by rewriting large portions of the source to work within thecontext of the Win32 API. But this would have meant spending a hugeamount of time on each and every tool. Instead, we took asubstantially different approach by writing a shared library(the Cygwin DLL) that adds the necessary UNIX-like functionalitymissing from the Win32 API (fork, spawn, signals, select, sockets,etc.).  We call this new interface the Cygwin API. Once written, itwas possible to build working Win32 tools using UNIX-hostedcross-compilers, linking against this library.</para><para>From this point, we pursued the goal of producing native toolscapable of rebuilding themselves under Windows 9x and NT (this isoften called self-hosting). Since neither OS ships with standard UNIXuser tools (fileutils, textutils, bash, etc...), we had to get the GNUequivalents working with the Cygwin API. Most of these tools werepreviously only built natively so we had to modify their configurescripts to be compatible with cross-compilation. Other than theconfiguration changes, very few source-level changes had to bemade. Running bash with the development tools and user tools in place,Windows 9x and NT look like a flavor of UNIX from the perspective ofthe GNU configure mechanism. Self hosting was achieved as of the beta17.1 release.</para></sect1>DOCTOOL-INSERT-ov-ex-unixDOCTOOL-INSERT-ov-ex-win<sect1 id="highlights"><title>Highlights of Cygwin Functionality</title>DOCTOOL-INSERT-ov-hi-introDOCTOOL-INSERT-ov-hi-win9xntDOCTOOL-INSERT-ov-hi-permDOCTOOL-INSERT-ov-hi-filesDOCTOOL-INSERT-ov-hi-textvsbinaryDOCTOOL-INSERT-ov-hi-ansiclibDOCTOOL-INSERT-ov-hi-processDOCTOOL-INSERT-ov-hi-signalsDOCTOOL-INSERT-ov-hi-socketsDOCTOOL-INSERT-ov-hi-select</sect1></chapter>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -