Consider you have dummy.h and dummy.c (their content doesn't matter, they can be empty), then the following segfaults: ./cc1 -imacros ./dummy.h dummy.c If 'cc1' is replaced with 'cpp0', then it works. Also it works if '-imacros' is replaced with '-include'. Laurynas