I’m running an
arm-none-eabi-gcc cross-compiler, version 5.4.1 20160919, on two different systems and, on setting up my CMake configuration, the compiler checks fail.
The workaround I’m currently resorting to is manually set the
which I’m not quite happy with. My CMake setup relies on three distinct files,
uarm.cmake, which you can find here (if you allow me, I’ll upload the archive directly on discourse).
Once you download the archive, you can build a sample program with
make build cd build cmake -D CMAKE_TOOLCHAIN_FILE=../toolchains/uarm.cmake .. make kernel.uarm
Is the problem I’m dealing with inherent to the compiler (version) or to my CMake setup? If the latter, can I solve it?