[ccache] [PATCH] Use bash for test.sh.
vapier at gentoo.org
Mon Nov 12 11:07:56 MST 2012
On Monday 12 November 2012 06:03:37 Andrew Stubbs wrote:
> Running "sh -x test.sh" shows that the gcc command producing the error:
> + CCACHE_DISABLE=1 gcc -c test1.c -o reference_test1.o -O -O
> gcc: error trying to exec 'cc1': execvp: No such file or directory
> I don't understand what's wrong with that command. gcc isn't supposed to
> rely on the PATH to find cc1, but presumably it's something environmental.
it relies on argv to locate its internal tools. if you change that command
to `env CCACHE_DISABLE=1 ...`, does it work better ?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: This is a digitally signed message part.
More information about the ccache