Re: [PATCH] Use bash for test.sh.
Eitan Adler <[email protected]>
| Newsgroups | gmane.comp.compilers.ccache |
|---|---|
| Message-ID | <CAF6rxgm1YhhAU+P1V3QjQYawvL-juajV=L=vQwk-2a+HsBU+DQ@mail.gmail.com> |
On 12 November 2012 06:03, Andrew Stubbs <[email protected]> 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. Can you get a ktrace (or strace) of what gcc is doing with and without CCACHE ? -- Eitan Adler