gcc
: 是由GUN 开发的编译语言译器,
1 dnf search gcc
2 dnf install gcc.x86_64 -y
3
[root@lee ~]# vim hello.c
#include<stdio.h>
main()
{
printf("hello lzy\n");
}
gcc hello.c
会生成 a.out
文件
gcc hello.c -o westos
指定编译到westos文件 执行就可以得到程序效果
闭源:不会开放源代码,只给编译后的,看不到源代码,不能再次开发