It's not an option for me to modify the complicated nest of makefiles that builds our code, and in various places they construct absolute paths to very specific compilers, e.g. /home/arm2gcc/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc
That makes it hard to use ccache either as a prefix or by putting it first in the path.
So I wonder about moving the compiler installations on my personal machine to e.g. /home/arm2gcc-real
and putting fake scripts in /home/arm2gcc
that redirect to the real compilers.
Can anyone suggest how to do this? Or is there a better way?