1. Compile a simple ‘C’ language ‘Hello World’ source program using gcc with --save-temps option to save the intermediate files after each step in the compilation process. Identify the output file...


1. Compile a simple ‘C’ language ‘Hello World’ source program using gcc with --save-temps option to save the intermediate files after each step in the compilation process. Identify the output file after each of the steps, namely the pre-processing, compiling, assembling and linking. Use the ‘file’ utility to know more about each of the output files.


2. Does the ‘gcc’ compiler collection follow the analysis-synthesis model during compiler development? Are the benefits of using analysis-synthesis model obvious?



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here