[prev] 26 [next]

Exercise 1: C Compiler Stages

Using a small program

#include <stdio.h>
#include "x.h"
#define NUM 10

int main(void)
{
   int x = NUM;
   printf("Hello\n");
   return 0;
}

investigate intermediate stages of compilation using flags -E, -S, -c