GCC实验1、安装GCC编译器yum install -y gcc2、vi hello.c用vi写“hello world!”的C语言代码vi hello.c#include "stdio.h"int main(){ printf("hello world! ");}3、用GCC将该文件编译为可执行文件hello.rungcc hello.c -o hello.runchmod +x hello.run4、运行hello.run,./hello.run。