类风湿吃什么药| 毛重是什么| 老虎的天敌是什么动物| 胎方位roa是什么意思| 尿常规检查挂什么科| 牛油果什么味道| 一个土一个贝念什么| 除湿是什么意思| 虎皮羊质是指什么生肖| 韧带损伤有什么症状| apc是什么牌子| 黄色分泌物是什么原因| 中耳炎吃什么药好| 天贝是什么东西| 脚常抽筋是什么原因| 梦见搞卫生什么意思| 男人为什么会遗精| 脾肾阳虚吃什么中成药最好| 程咬金是什么意思| 右边腰疼是什么原因| 针眼是什么样子的图片| 什么植物和动物最像鸡| 蛋白粉是什么| avg是什么意思| 619是什么意思| ABA是什么植物激素| 胆结石吃什么水果好| 风花雪月什么意思| 外贸是什么| 女性腰疼应该挂什么科| 什么东西可以淡化疤痕| 共济失调是什么意思| 粉瘤挂什么科| 30年属什么生肖| o型血孩子父母是什么血型| 肌酐高有什么症状表现| 晚上9点到11点是什么时辰| 什么是早孕| 红玫瑰花语是什么意思| 毛豆吃多了有什么坏处| 多囊卵巢综合症有什么症状| 尼泊尔是什么人种| 三有动物是什么意思| 婕字五行属什么| 海参崴买什么便宜| 喝茶失眠是什么原因| 愤青什么意思| sd什么意思| 蒙脱石散是什么成分| 皮肤一碰就破是什么病| 碘酒和碘伏有什么区别| 131是什么意思| 狗狗气喘吃什么药| 燃气泄露是什么味道| 深海鱼油有什么功效| 每天喝酸奶有什么好处和坏处| 折耳猫什么颜色最贵| 为什么会堵奶| 尿蛋白尿潜血同时出现说明什么| 嗓子痛什么原因| 基质是什么| 尿道炎吃什么药| 毛周角化症用什么药膏| 什么去疤痕效果最好| 恶对什么| 读什么| kiv是什么车| 痔疮不能吃什么食物| nac是什么| 景深是什么意思| 儿童感冒流鼻涕吃什么药好得快| 股市量比什么意思| 孕妇什么水果不能吃| 喜鹊叫有什么兆头| 睡眠不好挂什么科门诊| 鸡蛋花的花语是什么| 什么是还原糖| 什么是暗网| 单脐动脉是什么意思| 中度贫血吃什么补血快| 什么叫自慰| 合肥有什么好玩的地方| 火山为什么会喷发| 梦见自己数钱什么预兆| boys是什么意思| 掉头发吃什么| 心功能三级是什么意思| 口腔扁平苔藓吃什么药| 白细胞阳性什么意思| 1958年属什么| 肺部条索影是什么意思| 宝宝屁多是什么原因| 姑姑的孩子叫什么| 尿频尿急吃什么药| 胸前出汗多是什么原因| 脸发黄是什么原因| 猫眼是什么| 红参有什么作用| pm2.5是什么| 房颤有什么危害| 十月十一日是什么星座| 雌二醇e2是什么意思| 金牛座是什么象| 头骨凹陷是什么原因| 荨麻疹吃什么食物好| 开柙出虎是什么意思| 胸痹是什么意思| 黑热病是什么病| 龟头起红点用什么药| 龙的幸运色是什么颜色| 霜降吃什么| 孩子注意力不集中是什么原因| 身上起红疙瘩是什么原因| 嫂夫人什么意思| 花旗参和西洋参有什么区别| 怀孕感冒可以吃什么药| 飞车是什么意思| cnd是什么意思| miss什么意思| 麻鸡是什么鸡| 碳酸氢钠是什么添加剂| 女孩和女人有什么区别| 脂肪瘤吃什么药| 心肌缺血什么症状| 测幽门螺旋杆菌挂什么科| 来事头疼什么原因| 右侧卵巢内囊性回声是什么意思| 什么是假性狐臭| anca是什么检查| 卡姿兰属于什么档次| 已佚是什么意思| 小排畸主要检查什么| 头发长的快是什么原因| ao是什么| 荷花是什么形状的| 口干口苦是什么原因| 梦见梨是什么意思| 创伤性关节炎有什么症状| 泡脚时间长了有什么坏处| 老放屁吃什么药| 伤官配印是什么意思| 急性支气管炎吃什么药| 口差念什么| 后脑勺麻木是什么征兆| 落花流水什么意思| 皮肤起水泡发痒是什么病| 小便无力是什么原因| 积分落户是什么意思| 什么是干眼症| 紫色是什么颜色调出来的| 什么是酸性食物| 何炅和谢娜是什么关系| 父亲送什么礼物| 鹅口疮是什么引起的| 骨转移用什么药能治愈| 娘娘命是什么样的命| 查血糖是什么检查项目| 备孕检查都检查什么项目| 州字五行属什么| 小孩晚上不睡觉是什么原因| 吃大枣有什么好处| 2006年属什么生肖| 合加羽念什么| 着床出血什么时候出现| 扶苏姓什么| 单的姓氏读音是什么| 纨绔子弟什么意思| 大拇指指甲凹凸不平是什么原因| 喉咙干痒吃什么药| 瓜子脸适合什么刘海| 流鼻血是什么原因引起的| 11.16是什么星座| 采阴补阳是什么意思| 心焦是什么意思| 关二爷是什么神| asics是什么牌子| 秦始皇原名叫什么| 门昌念什么| 胆囊炎是什么病| 健胃消食片什么时候吃最好| 淋巴结转移是什么意思| 七月十三什么星座| 胰岛素抵抗有什么症状| cpap是什么意思| 囫囵吞枣是什么意思| 生化全项包括什么| 一拃是什么意思| 什么牌子的洗面奶好用| 油烟机没有吸力是什么原因| 微信拉黑和删除有什么区别| 男人湿气重吃什么药| 小清新是什么意思啊| 大便粘稠是什么原因| dm是什么意思| 性激素六项查什么| jps是什么意思| 镰刀菌用什么杀菌剂| 区委书记属于什么级别| 什么是反物质| 助产学是干什么的| 沙漠玫瑰什么时候开花| 黄金桂是什么茶| 不正常的人有什么表现| 喉咙痛吃什么药效果好| 什么人不能喝丹参| 马齿苋什么人不能吃| 变异性哮喘咳嗽吃什么药| 弦是什么| mps是什么意思| 馄饨皮可以做什么美食| 19年属什么| 血压低什么症状| 麻是什么面料| 放臭屁是什么原因| 不敢造次是什么意思| 钧五行属什么| 引产挂什么科| 疣是什么东西| 什么人不能念阿弥陀佛| 谷朊粉是什么| 脖子短是什么原因| 口水为什么是臭的| 医院脱毛挂什么科| 88年出生属什么生肖| 肥胖纹长什么样| 手掌心痒是什么原因| 8月11是什么星座| 79年属什么的生肖| 大鱼际发青是什么原因| 胆囊切除有什么后遗症| 吃喝拉撒是什么意思| 补气血用什么泡水喝| 乙醇是什么| 午时是什么时间| 冤亲债主是什么意思| 哪吒妈妈叫什么名字| 脚气吃什么维生素| 小确幸是什么意思| lac是什么意思| 麸质是什么| 扬州有什么好吃的| 冤家是什么意思| 埋线是什么| 声音嘶哑吃什么药| 梦见别人流血是什么预兆| 细胞角蛋白19片段是什么意思| 侧面是什么意思| 喝牛奶不能和什么一起吃| 扁桃体发炎是什么引起的| 月德合是什么意思| 胃切除手术后吃什么好| 未时左眼跳是什么预兆| 什么食物增加血管弹性| 雷锋日是什么时候| 什么叫法西斯| 吃什么才能瘦下来| 郴州有什么好玩的景点| 支付宝余额和余额宝有什么区别| 八卦分别代表什么| 摆谱是什么意思| 金针菇为什么叫明天见| 门当是什么| 做梦梦见狼是什么意思| 秋分是什么意思| 百度Jump to content

深圳“孔雀人才”奖励补贴标准翻番 最高达300万元!

From Wikipedia, the free encyclopedia
百度 银行板块、白酒板块表现弱势。

Cygwin
Original author(s)Steve Chamberlain, Cygnus Solutions
Developer(s)Cygnus Solutions, Red Hat, Cygwin project volunteers
Initial releaseOctober 18, 1995; 29 years ago (2025-08-06)
Stable release
3.6.4-1[1] Edit this on Wikidata / 15 July 2025; 21 days ago (15 July 2025)
Repository
Written inC/C++
Operating systemMicrosoft Windows
TypePOSIX standard utilities, POSIX standard library, C standard library, compatibility layer
LicenseGPLv3, LGPLv3[2]
Websitecygwin.com Edit this on Wikidata

Cygwin (/?s?ɡw?n/ SIG-win)[3] is a free and open-source Unix-like environment and command-line interface (CLI) for Microsoft Windows. The project also provides a software repository containing open-source packages. Cygwin allows source code for Unix-like operating systems to be compiled and run on Windows. Cygwin provides native integration of Windows-based applications.

The terminal emulator mintty is the default command-line interface provided to interact with the environment. The Cygwin installation directory layout mimics the root file system of Unix-like systems, with directories such as /bin, /home, /etc, /usr, and /var.

Cygwin is released under the GNU Lesser General Public License version 3.[4] It was originally developed by Cygnus Solutions,[5][6] which was later acquired by Red Hat (now part of IBM), to port the GNU toolchain to Win32, including the GNU Compiler Suite. Rather than rewrite the tools to use the Win32 runtime environment, Cygwin implemented a POSIX-compatible environment in the form of a DLL.[7]

The brand motto is "Get that Linux feeling – on Windows", although Cygwin doesn't have Linux in it.[8]

History

[edit]

Cygwin began in 1995 as a project of Steve Chamberlain, a Cygnus engineer who observed that Windows NT and 95 used COFF as their object file format, and that GNU already included support for x86 and COFF, and the C library newlib. He thought that it would be possible to retarget GCC and produce a cross compiler generating executables that could run on Windows. A prototype was later developed. Chamberlain bootstrapped the compiler on a Windows system, to emulate Unix to let the GNU configure shell script run.

Initially, Cygwin was called Cygwin32.[6][note 1] When Microsoft registered the trademark Win32, the "32" was dropped to simply become Cygwin.

In 1999, Cygnus offered Cygwin 1.0 as a commercial product.[9] Subsequent versions have not been released, instead relying on continued open source releases.

Geoffrey Noer was the project lead from 1996 to 1999.[10][11] Christopher Faylor was lead from 1999 to 2004; he left Red Hat and became co-lead with Corinna Vinschen.[12][13] Corinna Vinschen has been the project lead from mid-2014 to date (as of September, 2024).[14]

From June 23, 2016, the Cygwin library version 2.5.2 was licensed under the GNU Lesser General Public License (LGPL) version 3.[15]

Description

[edit]

Cygwin is provided in two versions: the full 64-bit version and a stripped-down 32-bit version, whose final version was released in 2022.[16] Cygwin consists of a library that implements the POSIX system call API in terms of Windows system calls to enable the running of a large number of application programs equivalent to those on Unix systems, and a GNU development toolchain (including GCC and GDB). Programmers have ported the X Window System, K Desktop Environment 3, GNOME,[17] Apache, and TeX. Cygwin permits installing inetd, syslogd, sshd, Apache, and other daemons as standard Windows services. Cygwin programs have full access to the Windows API and other Windows libraries.

Cygwin programs are installed by running Cygwin's "setup"[18] program, which downloads them from repositories on the Internet.

The Cygwin API library is licensed under the GNU Lesser General Public License version 3 (or later), with an exception to allow linking to any free and open-source software whose license conforms to the Open Source Definition.[19]

Cygwin consists of two parts:

  1. A dynamic-link library in the form of a C standard library that acts as a compatibility layer for the POSIX API and
  2. A collection of software tools and applications that provide a Unix-like look and feel.[20]

Cygwin supports POSIX symbolic links, representing them as plain-text files with the system attribute set. Cygwin 1.5 represented them as Windows Explorer shortcuts, but this was changed for reasons of performance and POSIX correctness. Cygwin also recognises NTFS junction points and symbolic links and treats them as POSIX symbolic links, but it does not create them. The POSIX API for handling access control lists (ACLs) is supported.[21]

Technical details

[edit]

A Cygwin-specific version of the Unix mount command allows mounting Windows paths as "filesystems" in the Unix file space. Initial mount points can be configured in /etc/fstab, which has a format very similar to Unix systems, except that Windows paths appear in place of devices. Filesystems can be mounted in binary mode (by default), or in text mode, which enables automatic conversion between LF and CRLF endings (which only affects programs that open files without explicitly specifying text or binary mode).

Cygwin 1.7 introduced comprehensive support for POSIX locales, and the UTF-8 Unicode encoding became the default.

The fork system call for duplicating a process is fully implemented, but the copy-on-write optimization strategy could not be used.[22][23][24]

Cygwin's default user interface is the bash shell running in the mintty terminal emulator.[25] The DLL also implements pseudo terminal (pty) devices, and Cygwin ships with a number of terminal emulators that are based on them, including rxvt/urxvt and xterm. The version of GCC that comes with Cygwin has various extensions for creating Windows DLLs, such as specifying whether a program is a windowing or console-mode program. Support for compiling programs that do not require the POSIX compatibility layer provided by the Cygwin DLL used to be included in the default GCC, but as of 2014, it is provided by cross-compilers contributed by the MinGW-w64 project.

Software packages

[edit]

Cygwin's base package selection is approximately 100MB,[26] containing the bash (interactive user) and dash (installation) shells and the core file and text manipulation utilities. Additional packages are available as optional installs from within the Cygwin "setup" program and package manager ("setup-x86_64.exe" – 64 bit).[27] The Cygwin Ports project provided[when?] additional packages that were not available in the Cygwin distribution itself. Examples included GNOME, K Desktop Environment 3, MySQL database, and the PHP scripting language. Most ports have been adopted by volunteer maintainers as Cygwin packages, and Cygwin Ports are no longer maintained. Cygwin ships with GTK+ and Qt.

The Cygwin/X project allows graphical Unix programs to display their user interfaces on the Windows desktop for both local and remote programs.

See also

[edit]

Notes

[edit]
  1. ^ Not to be confused with the current GnuWin32 project.

References

[edit]
  1. ^ "cygwin 3.6.4-1". July 15, 2025. Retrieved July 15, 2025.
  2. ^ "Cygwin Licensing Terms". Archived from the original on July 28, 2012. Retrieved December 15, 2022.
  3. ^ Hall, Larry (September 14, 2004). "Re: How do you pronounce it?". Cygwin (Mailing list). Archived from the original on August 30, 2011. Retrieved October 10, 2007.
  4. ^ "Cygwin library now available under GNU Lesser General Public License". Red Hat. Archived from the original on June 24, 2016. Retrieved June 23, 2016.
  5. ^ "A brief history of the Cygwin project". Cygwin. February 2, 2018. Archived from the original on January 8, 2020. Retrieved January 10, 2020.
  6. ^ a b "Cygwin32: A Free Win32 Porting Layer for UNIX Applications". USENIX. August 3, 1998. Archived from the original on January 11, 2020. Retrieved January 10, 2020.
  7. ^ "(Solved) Linux Subsystem vs Cygwin vs MobaXterm". Tech Help Forum by How-To Geek. January 24, 2017. Archived from the original on February 20, 2023. Retrieved March 15, 2019.
  8. ^ "Cygwin". www.cygwin.com. Retrieved March 11, 2024.
  9. ^ "Cygwin Unites Unix and Windows Apps". Google Books. November 15, 1999. Archived from the original on February 20, 2023. Retrieved January 13, 2020.
  10. ^ Delorie, DJ (February 17, 1999). "fyi: who does what". Cygwin (Mailing list). Archived from the original on February 14, 2004. Retrieved January 13, 2020.
  11. ^ Noer, Geoffrey (February 19, 1999). "A partial goodbye..." Cygwin (Mailing list). Archived from the original on February 2, 2004. Retrieved January 13, 2020.
  12. ^ Faylor, Christopher (March 31, 2004). "Changing jobs". Cygwin (Mailing list). Archived from the original on September 6, 2015. Retrieved January 13, 2020.
  13. ^ Faylor, Christopher (July 31, 2014). "Christopher Faylor – Withdrawing from the project". Cygwin (Mailing list). Archived from the original on December 17, 2014. Retrieved May 2, 2015.
  14. ^ "Cygwin Notables". www.cygwin.com. Retrieved September 10, 2024.
  15. ^ "Cygwin library now available under GNU Lesser General Public License". www.redhat.com. Archived from the original on June 16, 2021. Retrieved May 27, 2021.
  16. ^ Turney, Jon (November 25, 2022). "Cygwin x86 end-of-life". Retrieved September 14, 2023.
  17. ^ "Cygwin Ports". Archived from the original on May 11, 2015. Retrieved May 2, 2015.
  18. ^ Delorie, DJ (April 17, 2000). "New Cygwin Net Release". Cygwin (Mailing list). Archived from the original on December 20, 2014. Retrieved January 10, 2020.
  19. ^ "What are the licensing terms?". Cygwin. Archived from the original on July 28, 2012.
  20. ^ "Cygwin FAQ". cygwin.com. Archived from the original on May 7, 2021. Retrieved January 7, 2021.
  21. ^ Vinschen, Corinna (January 16, 2016). "Updated: Cygwin 2.4.0-1". Cygwin Announcements (Mailing list). Archived from the original on January 11, 2020. Retrieved January 11, 2020.
  22. ^ "Cygwin FAQ: How is fork() implemented?". cygwin.com. Archived from the original on October 20, 2010. Retrieved October 10, 2010.
  23. ^ "Highlights of Cygwin Functionality: Process Creation". Archived from the original on December 30, 2014. Retrieved December 24, 2014.
  24. ^ Blake, Eric (January 15, 2009). "Bash doesn't launch the applications directly". Cygwin (Mailing list). Archived from the original on June 13, 2011. Retrieved October 10, 2010.
  25. ^ "Chapter 2: Setting Up Cygwin". cygwin.com. Retrieved March 17, 2025.
  26. ^ "Installing and Updating Cygwin Packages". Cygwin. Archived from the original on January 10, 2020. Retrieved January 11, 2020.
  27. ^ "Cygwin Package List". Cygwin. Archived from the original on February 5, 2016. Retrieved January 11, 2020.
[edit]
手指倒刺是什么原因 胳膊疼是什么病的前兆 着床出血是什么颜色 急性荨麻疹不能吃什么食物 ebay什么意思
曼字五行属什么 白细胞阴性什么意思 曼秀雷敦属于什么档次 什么掌不能拍 白醋洗脸有什么效果
尖嘴是什么生肖 蜜蜂是什么牌子 什么是龙骨 穿旗袍配什么发型好看 耳朵痒用什么药
为什么要小心AB型血的人 身心合一是什么意思 肾结石有什么症状哪里疼 惊厥是什么原因引起的 屈髋是什么姿势
吃李子有什么好处xinmaowt.com 生理盐水有什么用hcv8jop1ns0r.cn 闺蜜过生日送什么礼物好hcv9jop1ns4r.cn porsche是什么牌子的车hcv9jop3ns6r.cn 妃子笑是什么茶hcv9jop0ns1r.cn
婴儿足底血筛查什么hcv8jop1ns6r.cn 10.5是什么星座hcv9jop4ns7r.cn 动脉硬化吃什么可以软化血管hcv9jop7ns3r.cn 手发抖是什么病的先兆hcv9jop1ns5r.cn 运动后体重增加是什么原因hcv8jop0ns3r.cn
欺世盗名是什么意思hcv8jop2ns4r.cn 碳酸是什么hcv9jop8ns1r.cn egm是什么意思hcv7jop9ns2r.cn 吃鱼生后吃什么打虫药hcv8jop4ns4r.cn 尿维生素c弱阳性是什么意思hcv8jop7ns0r.cn
华法林是什么药hcv8jop6ns2r.cn cnv是什么意思cl108k.com 神经性头疼吃什么药hcv8jop3ns3r.cn 珊瑚是什么1949doufunao.com 鳌是什么意思hcv8jop8ns2r.cn
百度