Question
Task 2 : Explaining the Role of the Linker and Loader and System Calls Using a Linux terminal and a vi editor, write a very
Task 2: Explaining the Role of the Linker and Loader and System Calls
Using a Linux terminal and a vi editor, write a very simple C++ program that displays: Laboratory Manual for CMPS 400 Operating Systems, name your program as lab2.cpp, and then use the steps in Figure 2.11 The role of the linker and loader of the required textbook to compile, execute, link, and load the program you created. You are required to provide screenshots of all the steps in Task 2. Make sure that you show the result after executing each step in Figure 2.11. Finally, if the Linux terminal you use allows, use the strace command to trace system calls used to execute your program and show the full screenshot of the trace. I showed you this in class on my Linux machine. I recommend that you experiment usage of the strace to visualize what goes in the background when a program executes.
- Provide below the screenshots for running the vi editor, the editing of your program, and the saving of your program.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started