Displaying 1 result from an estimated 1 matches for "mygnuarm_root".
2017 Oct 31
3
Cross compiling for Baremetal ARM without using GCC
...e: *** [main] Error 1
2) To get clang_rt.builtins-armv6m.a or libc, libm, I tried to build LLVM/Clang (compiler_rt) from LLVM/Clang source following this - http://llvm.org/docs/HowToCrossCompileLLVM.html but I got this error,
TARGET_TRIPLE=arm-none-eabi
MYHOSTBIN=${HOME}/clang/source/build_x64/bin
MYGNUARM_ROOT=${HOME}/opt/gcc-arm-none-eabi-6-2017-q2-update
MYCFLAGS="--specs=nosys.specs -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16"
cmake -G "Ninja" \
-DCMAKE_CROSSCOMPILING=True \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_P...