<div dir="ltr">Hello, <br>I want to build LLVM/Compiler-rt for baremetal targets like Cortex-M3. By adopting CMake options from <a href="http://llvm.1065342.n5.nabble.com/llvm-dev-Compiling-for-baremetal-ARMv4-on-Ubuntu-Linux-tp124226p124500.html">http://llvm.1065342.n5.nabble.com/llvm-dev-Compiling-for-baremetal-ARMv4-on-Ubuntu-Linux-tp124226p124500.html</a>, I can only build "libclang_rt.builtins-x86_64.a" in lib/linux, but what I want to build is "libclang_rt.builtins.arm.a". <div><br>My CMake options are: <br>cmake -G Ninja  DBAREMETAL_ARMV6M_SYSROOT=${ARMEABI5GCC} -DBAREMETAL_ARMV7M_SYSROOT=${ARMEABI5GCC} -DBAREMETAL_ARMV7EM_SYSROOT=${ARMEABI5GCC} -DCMAKE_BUILD_TYPE=Release -C/home/llvm-project/clang/cmake/caches/BaremetalARM.cmake /home/llvm-project/llvm/runtimes/compiler-rt <br><br>with <br>echo $ARMEABI5GCC <br>/home/gcc-arm-none-eabi-5_4-2016q3/arm-none-eabi <br><br>Does anyone know how to fix this problem? <br>Thanks in advance! <br>Xia Zhou<br></div></div>