Re: gcc linked to ccache with installed version
Zdeněk Sojka
zsojka@seznam.cz
Fri Apr 22 01:44:00 GMT 2011
> ------------ Původní zpráva ------------
> Od: RR <rrsacct@gmail.com>
> Předmět: gcc linked to ccache with installed version
> Datum: 21.4.2011 21:09:43
> ----------------------------------------
> I noticed that my installed version of gcc is linked to ccache. When I
> type gcc on the command line, I
> get "gcc: no input files". When I type ccache, I get the ccache usage
> message. But when I
> type "ccache gcc" I get "gcc: no input files". It seems that gcc is
> engaging ccache with the option "gcc"
> appended somehow. I would like to know how the link name, gcc, engages
> ccache with the gcc option specified.
>
>
>
Likely ccache executes something like "$* -E" to get the preprocessed source it uses for caching.
The output you see is from "gcc -E":
$ gcc -E
gcc: no input files
Zdenek Sojka
More information about the Gcc-help
mailing list