search for: x86_64_arm

Displaying 3 results from an estimated 3 matches for "x86_64_arm".

2018 Jul 01
2
Cross Compilation Problem
...ed on the first step. I write a hello world as test.c. I refer to your document and download the newest version of arm toolchain. I use the following command to try to compile the code to binary. sudo /home/jmh/Downloads/llvm/build/bin/clang --sysroot=/home/jmh/Downloads/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabi/arm-linux-gnueabi/libc --gcc-toolchain=/home/jmh/Downloads/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabi/lib/gcc/arm-linux-gnueabi/ -target arm-linux-gnueabi -fuse-ld=lld -L /home/jmh/Downloads/llvm/build/lib -I/home/jmh/Downloads/llvm/build/include/ --rtlib=compiler-rt -o test te...
2020 Sep 14
2
Cross compiling for ARMv7-m
...l get that done by though. > I recently tried again to build compiler-rt for cortex-m using the info from the guide mentioned above, but it still fails for me. Something that I don't understand is that when I call clang --target=armv7m-none-eabi --gcc-toolchain=/XX/gcc-linaro-7.3.1-2018.05-x86_64_arm-eabi --sysroot=/XX/gcc-linaro-7.3.1-2018.05-x86_64_arm-eabi/arm-eabi/ -L$PWD/llvm-project/cross-install/lib hello.o -o hello.exe.arm.clang I get: clang-12: warning: argument unused during compilation: '--gcc-toolchain=/XX/gcc-linaro-7.3.1-2018.05-x86_64_arm-eabi' [-Wunused-command-line-arg...
2020 Feb 26
2
Cross compiling for ARMv7-m
Hi, I am trying to use LLVM/clang to build a binary for ARM Cortex M platforms. When I build my binary the linker fails to find these libraries. ./bin/clang++ -target arm-none-eabi -mcpu=cortex-m4 ./temp.cpp -L ./lib/ -L ./libexec/ -L ../build3_v7m/lib/ ld.lld: error: unable to find library -lunwind ld.lld: error: unable to find library -lc ld.lld: error: unable to find library -lm ld.lld: error: