cygwin下安装c语言开发环境
2018-07-16 10:53
369 查看
1、到官网cygwin.com下载安装程序。
2、添加清华的cygwin镜像:https://mirrors.tuna.tsinghua.edu.cn/cygwin/
3、在安装:vim,git,gcc,g++,make
4、到kernel.org下载文档:https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/Archive/
5、完成。
附录:How to change cygwin hostname
Cygwin reads the host name from Windows. On Windows 7 (instructions will be similar for other versions of Windows) you can change this by doing the following:
- Open Control Panel
- Click System and Security
- Click System
- Under "Computer name, domain, and workgroup settings", click Change Settings
- Next to "To rename this computer…" click "Change…"
- Enter your desired host name in the "Computer name" box then click OK twice.
To simply change the Bash prompt, however, you don't need to jump through those hoops. The Bash prompt is controlled by the
PS1environment variable, and there're extensive instructions in the Bash man pages under "Prompting".
For example, to temporarily set your Bash prompt to
Howdy>, you can use the following command:
PS1='Howdy> '
While to set it whenever you restart the Bash shell, use the following to add it to your
.bashrcfile (which is run whenever Bash is started).
echo 'PS1="Howdy> "' >>~/.bashrc
相关文章推荐
- Windows下Linux开发环境设置(二)--安装Cygwin及交叉编译工具链
- Ubuntu下安装C/C++开发环境【!!!有更新!!!Ubuntu14.10下使用eclipse搭建C语言开发环境】
- Windows下Linux开发环境设置(二)--安装Cygwin及交叉编译工具链
- Ubuntu下安装C/C++开发环境【!!!有更新!!!Ubuntu14.10下使用eclipse搭建C语言开发环境】
- Windows下C语言开发环境配置(一):MinGW的简介和安装
- 使用Android NDK开发(二):搭建Android NDK开发环境(android-ndk-r10+eclipse+NDK plugin,不需安装Cygwin)
- C语言开发环境Code:Blocks的安装及中文乱码解决
- Cocos2d-X 游戏开发之 android 移植环境 cygwin 配置、测试安装正确 (十七)
- cygwin环境c语言开发
- Ubuntu下安装C/C++开发环境【!!!有更新!!!Ubuntu14.10下使用eclipse搭建C语言开发环境】
- C语言开发环境安装——Codeblocks&GCC
- win7(64位)平台下Cygwin+Eclipse搭建Hadoop单机开发环境 (一) Cygwin(64位)的安装 + ssh的配置
- 在CentOS中安装gcc配置c语言开发环境(转)
- Windows下的linux开发环境Cygwin的安装配置
- Windows下Cygwin环境的Hadoop安装(4)- 在Eclipse中建立hadoop开发环境
- cygwin 环境设置 iPhone开发包安装
- Android NDK r8 Cygwin CDT 在window下开发环境搭建 安装配置与使用 详细图文讲解
- Windows下的linux开发环境Cygwin的安装配置
- Windows下C语言开发环境配置(一):MinGW的安装和eclipse的配置
- Cygwin开发环境安装及配置