计算机操作系统 - 链接

计算机操作系统 - 链接

  • 计算机操作系统 - 链接

    • 编译系统

    • 静态链接

    • 目标文件

    • 动态链接

编译系统

以下是一个 hello.c 程序:

#include 
​
int main()
{
    printf("hello, world\n");
    return 0;
}

在 Unix 系统上,由编译器把源文件转换为目标文件。

gcc -o hello hello.c

这个过程大致如下:

你可能感兴趣的:(java,spring,maven,spring,boot,spring,cloud,dubbo)