0
votes

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!

1

1 Answers

1
votes

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.