.. ot-exercise:: linux.toolchain.exercises.fh_moodle_quiz :dependencies: linux.toolchain.basics, linux.toolchain.separate_compilation Quiz: Toolchain =============== .. contents:: :local: Native ------ * Compiler: which of the following statements are true? .. list-table:: :align: left :widths: auto :header-rows: 1 * * 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? .. list-table:: :align: left :widths: auto :header-rows: 1 * * 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? .. list-table:: :align: left :widths: auto :header-rows: 1 * * 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*. * * (:doc:`Solutions `) Dependencies ------------ .. ot-graph:: :entries: linux.toolchain.exercises.fh_moodle_quiz