0

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.

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.