Quiz: Toolchain (Solutions)

Native

  • Compiler: which of the following statements are true?

    Statement

    True

    False

    The compiler combines multiple object files together into one executable

    n

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

    y

    Object files are not executable

    y

    Object files are executable

    n

  • Linker: which of the following statements are true?

    Statement

    True

    False

    The linker combines multiple object files together into one executable

    y

    The linker combines multiple object files together into a static library

    n

Cross

  • Cross: which of the following statements are true?

    Statement

    True

    False

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

    y

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

    y

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

    n

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

    y

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

    y

Dependencies

cluster_linux Linux cluster_linux_basics Linux Basics cluster_linux_basics_intro Introduction: Concepts and Terminology cluster_linux_basics_shell The Shell (Bash - “Bourne Again Shell”) cluster_linux_toolchain Toolchain, And Cross Development cluster_linux_toolchain_exercises Exercises: Toolchain linux_basics_intro_overview Overview linux_basics_intro_process Processes, Scheduling, Address Spaces linux_basics_intro_process->linux_basics_intro_overview linux_basics_shell_cwd Current Working Directory linux_basics_shell_cwd->linux_basics_intro_process linux_basics_shell_paths Absolute and Relative Paths linux_basics_shell_cwd->linux_basics_shell_paths linux_basics_shell_commandline Commandline linux_basics_shell_cwd->linux_basics_shell_commandline linux_basics_shell_paths->linux_basics_shell_commandline linux_basics_shell_file_dir_create_rm Creating And Removing Files and Directories linux_basics_shell_file_dir_create_rm->linux_basics_shell_cwd linux_basics_shell_file_dir_create_rm->linux_basics_shell_paths linux_basics_shell_commandline->linux_basics_intro_overview linux_toolchain_basics Toolchain: Basics linux_toolchain_basics->linux_basics_shell_file_dir_create_rm linux_toolchain_separate_compilation Zooming In: Separate Compilation, and Linking Statically linux_toolchain_separate_compilation->linux_toolchain_basics linux_toolchain_exercises_fh_moodle_quiz Quiz: Toolchain linux_toolchain_exercises_fh_moodle_quiz->linux_toolchain_basics linux_toolchain_exercises_fh_moodle_quiz->linux_toolchain_separate_compilation