Reputation: 173
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
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