Building a cross-compiler for a Raspberry Pi

Andrew Haley aph@redhat.com
Sun Mar 13 10:58:00 GMT 2016


On 13/03/16 05:01, YuGiOhJCJ Mailing-List wrote:
> 1) How we determine the correct machine name?

It looks correct.

> 2) How to build my cross-compiler without glibc?

Copy the root filesystem from a Raspberry Pi onto your machine, then
configure gcc with --sysroot=<dirname>, the RPi root filesystem.  GCC
will then pull all target headers and libraries from the sysroot.

Andrew.




More information about the Gcc-help mailing list