This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building a cross-compiler for a Raspberry Pi


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]