building 4.8.1 cross-compiler: xgcc: error trying to exec 'cc1': execvp: No such file or directory
vijay nag
vijunag@gmail.com
Tue Sep 17 07:11:00 GMT 2013
On Tue, Sep 17, 2013 at 12:18 PM, Michael Weise
<michael.weise@ek-team.de> wrote:
> On Thu, 12 Sep 2013 22:02:32 +0200
> Frédéric Bron <frederic.bron@m4x.org> wrote:
>
>> 2013/9/12 Hendrik Greving <hendrik.greving.intel@gmail.com>:
>> > 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>
>>
>> Thanks. The strange thing is that 'make' does that alone part of the
>> build process and with 4.7.3 it works nicely, only with 4.8.1 does it
>> produce the error. So I do not really know how to fix it.
>
> 1) Did you do a "make install" after "make"?
>
> 2) Did you try the "xgcc -B <gcc directory>"? Does it work?
>
> Regards,
> Michael
execX() also returns errno 2 (No such file or directory) when you try
to run a 64-bit program on a 32-bit platform.
You can use file command on xgcc to check the target the compiler is built for.
More information about the Gcc-help
mailing list