In this web page i will share my experiences of solving various problems at hand.
How to relocate a gcc installation to another directory on another computer ?

We will face the following famous error if we try to execute  gcc from a relocated directory.
-------------------------------------------------------------------------------------------------------------------------------
gcc: installation problem, cannot exec `cc1': No such file or directory
-------------------------------------------------------------------------------------------------------------------------------
gcc -print-search-dirs