user1820451
user1820451

Reputation: 173

Compiling ARM with buildroot- how to tell where are the ARM GCC include file

I am trying to compile buildroot to ARM cortex M4.

i donwloaded the ARM Cross compiler https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads

and configure buildroot using xconfig to use external tool chain with direction to the arm gcc compiler

but i am getting that it search the version.h include in /usr/include

how to i tell gcc in buildroot to search in my installed directory

Thanks!

Upvotes: 0

Views: 1824

Answers (1)

Thomas Petazzoni
Thomas Petazzoni

Reputation: 5956

This cross compiler from ARM is a bare metal compiler, so it cannot build Linux userspace applications/libraries. Therefore, trying to use this compiler with Buildroot does not make much sense, because the whole point of Buildroot is to build a Linux system, with Linux userspace applications and libraries.

Upvotes: 1

Related Questions