Partial compilation of main