On 18 September 2013 10:24, Frédéric Bron wrote: >>> where is this xgcc suppose to come from? It is not listed in the prerequisites. >> >> It's in the build directory after you build GCC. It's not in your >> $PATH, you'll need to find it and run it as ./xgcc or path/to/xgcc or >> similar. > > OK I found it: build_dir/gcc/xgcc > and also build_dir/gcc/cc1 > > The error message says: > xgcc: error trying to exec 'cc1': execvp: No such file or directory > so it seems that xgcc is found but xgcc tries to find cc1 and cannot. Why? Either because your build didn't work properly or you didn't use -B $build_dir/gcc to tell xgcc where to find cc1. > What is the purpose of the xgcc command? It's the newly built gcc executable, before it gets installed as gcc.