Building vs. Compiling (Java)

后端 未结 8 1061
心在旅途
心在旅途 2020-12-12 08:47

Thinking that the answer to this is pretty obvious but here it goes:

When I am working on a small project for school (in java) I compile it.

On my

8条回答
  •  心在旅途
    2020-12-12 09:14

    Compiling is the act of turning source code into object 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.

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

    What is the difference between compile code and executable code?

提交回复
热议问题