Re: building 4.8.1 cross-compiler: xgcc: error trying to exec 'cc1': execvp: No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 17, 2013 at 12:18 PM, Michael Weise
<michael.weise@xxxxxxxxxx> wrote:
> On Thu, 12 Sep 2013 22:02:32 +0200
> Frédéric Bron <frederic.bron@xxxxxxx> wrote:
>
>> 2013/9/12 Hendrik Greving <hendrik.greving.intel@xxxxxxxxx>:
>> > 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.





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux