I don't know your first error, but this one: "xgcc: error trying to exec 'cc1': execvp: No such file or directory" is if you don't properly 'make install' the compiler. Without installing, you need to run with xgcc -B <gcc directory> Regards, Hendrik Greving On Thu, Sep 12, 2013 at 2:17 AM, Frédéric Bron <frederic.bron@xxxxxxx> wrote: >> When I build a gcc 4.8.1 cross compiler with mingw-w64, I get the >> following error: >> xgcc: error trying to exec 'cc1': execvp: No such file or directory > > In fact, I get the same error building a native gcc 4.8.1. > > Frédéric