Re: Cannot compile using cc1.

2018-10-08 Thread Jim Wilson
On 10/06/2018 06:07 AM, Tejas Joshi wrote: I have gcc source code, stage1-build and test directories as siblings and I've been trying to compile test.c in test/ using: ../stage1-build/gcc/cc1 test.c That isn't expected to work. You need to use the compiler driver, which is called xgcc in the

Cannot compile using cc1.

2018-10-06 Thread Tejas Joshi
I have gcc source code, stage1-build and test directories as siblings and I've been trying to compile test.c in test/ using: ../stage1-build/gcc/cc1 test.c but getting error as: In file included from test.c:1: /usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or dir