Re: [PATCH] Use bash for test.sh.
Eitan Adler <[email protected]>
| Newsgroups | gmane.comp.compilers.ccache |
|---|---|
| Message-ID | <CAF6rxgkTfNBcnphvHAZ-9ovDuY+q_R00B2Cu=acHE-0D1_wFXQ@mail.gmail.com> |
On 12 November 2012 13:00, Eitan Adler <[email protected]> wrote: > 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 ? Also, does gcc exhibit problems on other test programs outside of test.sh ? -- Eitan Adler