Quiz: Toolchain

Native

  • Compiler: which of the following statements are true?

    Statement

    True

    False

    The compiler combines multiple object files together into one executable

    The compiler turns a single source file into an object (.o) file

    Object files are not executable

    Object files are executable

  • Linker: which of the following statements are true?

    Statement

    True

    False

    The linker combines multiple object files together into one executable

    The linker combines multiple object files together into a static library

Cross

  • Cross: which of the following statements are true?

    Statement

    True

    False

    The cross compiler is an executable that runs on the build machine

    The cross compiler is an executable that runs on the target machine

    The cross compiler is linked against the C runtime (libc.so). That file is contained in the sysroot.

    The output that is produced by a cross toolchain runs on the target machine.

    The output that is produced by a cross toolchain is linked against the C runtime (libc.so). That file is contained in the sysroot.

(Solutions)