<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><title>MagicLen</title><link>https://magiclen.org/cn/tag/msys2/</link><description>多元化原创文章，内容包罗万象，有编程语言、网站应用、软件介绍、硬件介绍、操作系统、旅行游记、专题采访、益智问题、文学创作，以及作者们的知识分享和作品分享。</description><language>zh-CN</language><lastBuildDate>Sun, 22 Nov 2026 17:50:55 +0800</lastBuildDate><atom:link href="https://magiclen.org/cn/tag/msys2/feed/" rel="self" type="application/rss+xml"/><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>8</sy:updateFrequency><sy:updateBase>1970-01-01T00:00+00:00</sy:updateBase><item><title>如何在 MSYS2 中编译 Rust 程序？</title><link>https://magiclen.org/cn/rust-msys2/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2018/04/rust-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2018/04/rust-220x162.png 1x, https://magiclen.org/wp-content/uploads/2018/04/rust-440x324.png 2x, https://magiclen.org/wp-content/uploads/2018/04/rust-660x486.png 3x" alt>
Windows 操作系统中的 Rust 程序，预设会使用 MSVC 来编译的。但是如果 Rust 程序有使用到 GNU 相关的函数库（例如 GTK）时，就得搭配 MinGW 来编译了。MSYS2 是一套集成 MinGW 和 POSIX 环境的工具，可以在 Windows 操作系统上模拟出 Linux 操作系统的开发环境，且能利用 MinGW 直接编译出在 Windows 操作系统上运行的程序。]]></description><category>研究分享</category><category>Rust</category><category>Windows</category><category>Rust</category><category>MSYS2</category><category>MinGW</category><category>curl</category><guid>https://magiclen.org/cn/rust-msys2</guid><pubDate>Sun, 16 Dec 2018 12:00:20 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>在 Windows 安装 MSYS2，让 Windows 也能使用 GNU 的软件开发工具</title><link>https://magiclen.org/cn/msys2/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2023/10/sshot-18-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2023/10/sshot-18-220x162.png 1x, https://magiclen.org/wp-content/uploads/2023/10/sshot-18-440x324.png 2x, https://magiclen.org/wp-content/uploads/2023/10/sshot-18-660x486.png 3x" alt>
GNU 是一个 Unix-like 的操作系统，经常与 Linux 内核搭配在一起（GNU/Linux 即为一般我们所说的「Linux 操作系统」）。有许多软件开发的程序都是运作在 GNU 的环境中，无法直接在 Windows 操作系统中使用，就得依靠如 Cygwin 和 MinGW (Minimalist GNU for Windows)等软件在 Windows 操作系统中，创建出 GNU 程序...]]></description><category>Linux</category><category>C &amp; C++</category><category>Windows</category><category>软件介绍</category><category>Linux</category><category>vim</category><category>Windows</category><category>MSYS2</category><category>MinGW</category><guid>https://magiclen.org/cn/msys2</guid><pubDate>Fri, 14 Dec 2018 12:00:34 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>