(no) GCC pre-compiled headers on cygwin

Kelley Cook kcook34@ford.com
Wed Jul 23 17:15:00 GMT 2003


Geoff Keating said:

> "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com> writes:
> 
>> PCH doesn't work (for me) with cygwin-1.5 and gcc HEAD
> 
> I believe the patch is written and approved but is waiting on a 
> copyright assignment before being committed.

Are referring to this patch by Earl Chew, 
http://gcc.gnu.org/ml/gcc-patches/2003-07/msg00963.html?   
Unfortunately, even with both it and Cygwin 1.5, PCH still isn't working for me.

gcc.sum
------
Running /home/kcook34/gcc-snapshot/gcc/testsuite/gcc.dg/pch/pch.exp ...
FAIL: common-1.h (test for excess errors)
FAIL: common-1.h (test for excess errors)
FAIL: common-1.h (test for excess errors)
FAIL: common-1.h (test for excess errors)
FAIL: gcc.dg/pch/common-1.c (test for excess errors)
FAIL: gcc.dg/pch/common-1.c (test for excess errors)
FAIL: common-1.h (test for excess errors)
...

gcc.log
-------
Running /home/kcook34/gcc-snapshot/gcc/testsuite/gcc.dg/pch/pch.exp ...
Executing on host: /home/kcook34/t/gcc/xgcc -B/home/kcook34/t/gcc/ common-1.h  -O0 -g   -o common-1.h.gch    (timeout = 300)
spawn /home/kcook34/t/gcc/xgcc -B/home/kcook34/t/gcc/ common-1.h -O0 -g -o common-1.h.gch
common-1.h:4: fatal error: can't read /tmp/ccL03Gxd.s: No error
compilation terminated.
compiler exited with status 1
output is:
common-1.h:4: fatal error: can't read /tmp/ccL03Gxd.s: No error
compilation terminated.

Kelley Cook




More information about the Gcc mailing list