Podcast
Questions and Answers
What is cross-compilation?
What is cross-compilation?
- The compilation of a program on one computer for execution on another computer. (correct)
- The compilation of a program on one computer for execution on the same computer.
- The compilation of a program on multiple computers for execution on another computer.
- The compilation of a program on multiple computers for execution on the same computer.
What is portability?
What is portability?
- The ability to run a program on different types of machines. (correct)
- The ability to run a program on only one type of machine
- The ability to run a program on a virtual machine
- The ability to run a program on a cloud-based machine
What is LINUX?
What is LINUX?
- An operating system that runs programs in a protected environment. (correct)
- A debug monitor only.
- A type of machine
- A programming language
What is the purpose of the makefile in mp1?
What is the purpose of the makefile in mp1?
What needs to be modified in the Cmd struct?
What needs to be modified in the Cmd struct?
What is not supported in SAPC?
What is not supported in SAPC?
What is the difference between developing programs for LINUX and SAPCs?
What is the difference between developing programs for LINUX and SAPCs?
Study Notes
- The basic process to develop programs for LINUX and SAPCs is the same, but different in details.
- Cross-compilation is the compilation of a program on one computer for execution on another computer.
- Portability requires the use of a different compiler/loader and library for each type of machine.
- The library functions called by the test program worked slightly differently on the two types of machines.
- LINUX is an operating system that runs programs in a protected environment, while Tutor is a debug monitor only.
- In mp1, commands will be added to a program that is a simple version of the Tutor program.
- The program is portable so that it can be run on both LINUX and SAPC.
- The makefile in mp1 is used to create the tutor executable on LINUX and SAPC.
- The Cmd struct needs to be modified to include "ms" and "h" commands.
- malloc() is not supported in SAPC.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.