gcc GUN编译器套件 (a.out ,)

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文件 执行就可以得到程序效果

在这里插入图片描述闭源:不会开放源代码,只给编译后的,看不到源代码,不能再次开发
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/ninimino/article/details/108818327
今日推荐