Displaying 4 results from an estimated 4 matches for "armeabi5gcc".
2019 Aug 07
2
Compiling compiler-rt for baremetal CortexM on Ubuntu Linux
....n5.nabble.com/llvm-dev-Compiling-for-baremetal-ARMv4-on-Ubuntu-Linux-tp124226p124500.html,
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".
My CMake options are:
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
with
echo $ARMEABI5GCC
/home/gcc-arm-none-eabi-5_4-2016q3/arm-none-eabi
Does any...
2019 Mar 11
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...way to include the paths was „-L/usr/lib/gcc/arm-none-eabi/6.3.1/ -L/usr/lib/arm-none-eabi/lib/“.
>
> The -clang_rt.builtins-armv6m.a still puzzles me: I built the compiler-rt according to the mentioned baremetal recipe some time ago with
>
> cmake –G Ninja –DBAREMETAL_ARMV6M_SYSROOT=${ARMEABI5GCC} -DBAREMETAL_ARMV7M_SYSROOT=${ARMEABI5GCC}- DBAREMETAL_ARMV7EM_SYSROOT=${ARMEABI5GCC} –DCMAKE_BUILD_TYPE=Release –C /home/llvm_4rt/llvm/tools/clang/cmake/caches/BaremetalARM.cmake /home/llvm_4rt/llvm/
>
> where ARMEABI5GCC=/home/crichter/Downloads/gcc-arm-none-eabi-5_4-2016q3/arm-none-eabi is...
2019 Mar 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello Christian,
I'd expect that adding the library paths (-L) from gcc -v should fix
the unable to find -lc, -lm but it won't fix the
-lclang_rt.builtins-armv6m.a . To get clang_rt.builtins-armv6m.a you
will need to cross compile compiler-rt for v6m and copy it to
/usr/local/myclang/lib/clang/8.0.0/lib/baremetal . Beware that
building compiler-rt for v6m does need quite a bit of fighting
2018 Dec 14
3
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello again Christian,
I've posted https://reviews.llvm.org/D55709 to see if we can get the
documentation on how to cross-compile compiler-rt improved. I'll be
out of office until next year so I may be a bit slow to respond to any
follow ups.
Peter
On Thu, 13 Dec 2018 at 17:10, Peter Smith <peter.smith at linaro.org> wrote:
>
> Hello Christian,
>
> I've just