虚拟机gcc编程步骤
时间: 2023-09-11 15:03:33 浏览: 97
震惊,与gcc不得不说的故事:Linux虚拟机环境下,gcc的在线安装
5星 · 资源好评率100%
虚拟机上进行GCC编程的步骤如下:
1. 首先,在虚拟机中安装GCC编译器。可以使用以下命令安装GCC编译器及其相关依赖包:
```
yum install gcc
```
2. 编写C程序。使用任何文本编辑器(如vi或nano)创建一个C程序文件(以.c为扩展名),并在其中编写你的代码。
3. 执行以下命令来编<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Ubuntu系统使用gcc和makefile编译C程序](https://blog.csdn.net/liu15709481172/article/details/126807889)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [在虚拟机中安装Linux操作系统详细步骤](https://blog.csdn.net/qq_43471489/article/details/128149538)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [虚拟机部署具体步骤](https://blog.csdn.net/weixin_44239431/article/details/89392782)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文