When I call ccache with '-E' option, I got this error:
ccache: invalid option -- 'E'
Is this what meant to be or some catch? Although that I found I can use /usr/lib64/ccache/gcc to do with the '-E' option, but some software compiling might need this, like 'cutorch'.
I found something. If I rename the ccache to gcc, then there is no problem. So, I think this is not a bug. However, I think this a little not intuitive to me. Maybe there should be another command to take care of those management stuffs. I think this way would be better.
You are correct in that it's not a bug. Please read instructions on how to use ccache here: https://ccache.samba.org/manual.html#_run_modes