什么是编译code和可执行code之间的区别?

问题描述:

我一直使用术语的编译的和的建立的互换。

I always use the terms compile and build interchangeably.

究竟做些什么这些术语代表什么?

What exactly do these terms stand for?

编译是转弯源$ C ​​$ C到对象code的行为。

Compiling is the act of turning source code into object code.

链接是与图书馆相结合的目标code到原始可执行文件的行为。

Linking is the act of combining object code with libraries into a raw executable.

建筑是编译和链接,可能有其他任务,如安装程序创建组成的序列。

Building is the sequence composed of compiling and linking, with possibly other tasks such as installer creation.

许多编译器编译源$ C ​​$ C后自动处理链接步骤。

Many compilers handle the linking step automatically after compiling source code.