1 / 14

Cygwin 安装说明

Cygwin 安装说明. 下载. 从 Cygwin 的主页 下载 setup.exe 并运行,进行在线安装,后续步骤见图。. 前几步一路 next. next. next. next. next. 这里选择科大的 源. 安装 gcc. 搜索 gcc ,在 gcc -core 那一行的 Skip 上点击一下, Skip 会变成 Keep 。如果需要编译 c++ 代码,可以把 g++ 也装上。. 继续 next. 6MB/s 的速度. 装完了. 测试 gcc.

Télécharger la présentation

Cygwin 安装说明

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Cygwin安装说明

  2. 下载 • 从Cygwin的主页下载setup.exe并运行,进行在线安装,后续步骤见图。

  3. 前几步一路next

  4. next

  5. next

  6. next

  7. next

  8. 这里选择科大的源

  9. 安装gcc 搜索gcc,在gcc-core那一行的Skip上点击一下,Skip会变成Keep。如果需要编译c++代码,可以把g++也装上。

  10. 继续next

  11. 6MB/s的速度

  12. 装完了

  13. 测试gcc 打开桌面上的Cygwin Terminal (mintty),输入gcc –v,如果出现如图所示的结果, 说明gcc安装成功,可以进行实验了。

  14. 额外的话 • *nix上的很多小工具都非常好用,比如sed/awk/grep/sort/uniq,建议大家花点时间熟悉一下,一旦派上用场可以节省很多时间。这些工具Cygwin都默认安装了,鉴于(多数人)大部分时间都在用Windows,打开一个Cygwin Terminal比启动虚拟机/切换系统还是要快一些的。 • 部分GNU utilities已经被移植到Windows了,比如UnxUtils,完全可以放在U盘里,你值得拥有。

More Related