Pergunta

So I'm following this tutorial online to build a cross compiler for the Raspberry PI. Tutorial

When executing the command 'ct-ng build' to prepare the compiler, I'm getting:

insn-opinit.h: No such file or directory

I'm using GCC v4.8.1 Linaro with non-parallel builds. There seems to be a patch for GCC available, but I have no idea where to start with this. Any advice would be appreciated. Thanks.

Foi útil?

Solução 2

I followed the following tutorial and was able to get it working. This was much easier than the original way that I was going about this. Tutorial

Outras dicas

I think the easiest is to use biicode, it automatically sets up the cross compiling environment and sends generated binaries to the raspberry-pi. It can also automate cmake generation. To install the cross-compiler and other required tools (gcc, cmake) you just have to install it and run bii setup:rpi

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top