call the 1st and 2nd steps of compilation