Displaying 7 results from an estimated 7 matches for "2016q3".
Did you mean:
20163
2019 Aug 07
2
Compiling compiler-rt for baremetal CortexM on Ubuntu Linux
...L_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 anyone know how to fix this problem?
Thanks in advance!
Xia Zhou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190807/b3184e78/attachment.html>
2019 Mar 11
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...M_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 from the sysroot download site you gave me back then.
>
> That resulted in a libclang_rt.builtins.a file which I considered to be the right one to use now, but neither copying it into
> /usr/local/myclang/lib/clang/8.0.0/lib/baremetal (which did not exist before, only /lin...
2019 Mar 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...-armv6m.a
> clang-8: error: ld.lld command failed with exit code 1 (use -v to see invocation)
>
> I downloaded the sysroot (from https://developer.arm.com/open-source/gnu-toolchain/gnu-rm ) and tried to include it via --sysroot (like --sysroot=/home/crichter/Downloads/gcc-arm-none-eabi-5_4-2016q3/arm-none-eabi) or -L or -l and tried the same for the two libraries gcc seems to use according to its -v (LIBRARY_PATH=/usr/lib/gcc/arm-none-eabi/6.3.1/:/usr/lib/gcc/arm-none-eabi/6.3.1/../../../arm-none-eabi/lib/) or combinations of it, but it all resulted in the same error above. I also tried to...
2018 Dec 14
3
Compiling for baremetal ARMv4 on Ubuntu Linux
...>
> The cache file requires clang and lld. From the build directory they
> will go into lib/clang. That worked for me (TM). Hopefully if you can
> edit the paths it will work for you. My guess is that you'll want to
> set ARMEABIGCC=/home/crichter/Downloads/gcc-arm-none-eabi-5_4-2016q3/arm-none-eabi
>
> Peter
>
> On Thu, 13 Dec 2018 at 12:08, Christian Richter
> <christian.richter at hsu-hh.de> wrote:
> >
> > Hello Peter and Lists,
> >
> > thanks a lot, that way it worked out! The final cmake was
> >
> > cmake -G "Ninj...
2019 Feb 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...equires clang and lld. From the build directory they
> >> will go into lib/clang. That worked for me (TM). Hopefully if you can
> >> edit the paths it will work for you. My guess is that you'll want to
> >> set ARMEABIGCC=/home/crichter/Downloads/gcc-arm-none-eabi-5_4-2016q3/arm-none-eabi
> >>
> >> Peter
> >>
> >> On Thu, 13 Dec 2018 at 12:08, Christian Richter
> >> <christian.richter at hsu-hh.de> wrote:
> >>> Hello Peter and Lists,
> >>>
> >>> thanks a lot, that way it worked out!...
2018 Dec 13
2
Compiling for baremetal ARMv4 on Ubuntu Linux
.../myclang/bin/llvm-ranlib
-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY
-DCMAKE_C_COMPILER_TARGET="arm-linux-gnueabihf"
-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
-DLLVM_CONFIG_PATH=/usr/local/myclang/bin/llvm-config
-DBAREMETAL_ARMV5M_SYSROOT=/home/crichter/Downloads/gcc-arm-none-eabi-5_4-2016q3
-DBAREMETAL_ARMV6M_SYSROOT=/home/crichter/Downloads/gcc-arm-none-eabi-6-2017-q2-update
-DBAREMETAL_ARMV7M_SYSROOT=/home/crichter/Downloads/gcc-arm-none-eabi-7-2018-q2-update
-C /home/llvm_4rt/llvm/tools/clang/cmake/caches
loading initial cache file /home/llvm_4rt/llvm/tools/clang/cmake/caches...
2018 Dec 10
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello again!
Tried out the small Hello World Setup, worked as intended:
root at christian-forschung-virtual-machine:/home/progs# clang -v
--target=arm-linux-gnueabihf hello.c -o hello -fuse-ld=lld
clang version 8.0.0 (https://git.llvm.org/git/clang.git/
a152c7a4b7ba8f4cb9532ead9a38a7121db43d50)
(https://git.llvm.org/git/llvm.git/
1959ce6f3e01241919968ac1911fd45660239d23)
Target: