[ccache] using ccache with a cross-compiler fails to compile preprocessed output

Mike Frysinger vapier.adi at gmail.com
Thu Jun 14 20:02:21 GMT 2007


ive been using ccache with my cross-compilers but i just came across a
situation where ccache is causing problems

$ cat test.i
typedef __blkcnt_t blkcnt_t;
$ bfin-uclinux-gcc -c test.i
bfin-uclinux-gcc: Àã`: No such file or directory
bfin-uclinux-gcc: no input files
$ bfin-uclinux-gcc -c test.i --ccache-skip
test.i:1: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'blkcnt_t'


-mike


More information about the ccache mailing list