Build Process

박영재·2024년 9월 23일
0

  1. Preprocessing

    • Prepares the source code before actual compilation. It involves tasks like macro expansion, including header files, and removing comments
  2. Compile

    • Translates into assembly code.

    • Checks syntax errors and generates intermediate assembly instructions

    • Includes code optimization at this stage

  3. Assemble

    • takes the assembly code generated by the compiler and converts it into machine code (binary instructions)
  4. Link

    • Combines multiple object files into a single executable.
    • Resolves external references (e.g., calls to functions defined in other files) and binds together code and data from libraries and other object files
profile
People live above layers of abstraction beneath which engineers reside

0개의 댓글