Displaying 3 results from an estimated 3 matches for "dllvm_native_arch".
Did you mean:
llvm_native_arch
2015 Mar 29
2
[LLVMdev] How to Cross Compile libcompiler_rt Static Library?
...ries#user-content-compiler-rt
>
> -DCMAKE_CROSSCOMPILING=True
>
> As you can see, I'm using CMake. Works pretty well so far. Hopefully
> something like this will work for you as well?
>
I tried "cmake ../compiler-rt -DCMAKE_C_COMPILER=clang
-DCMAKE_CXX_COMPILER=clang++ -DLLVM_NATIVE_ARCH=ARM
-DLLVM_TARGETS_TO_BUILD=ARM -DTARGET_TRIPLE=armv-none-linux-gnueabi
-DCMAKE_CROSSCOMPILING=True". It will still build X86_64 version.
I also tried "cmake ../compiler-rt
-DCMAKE_C_COMPILER=/usr/local/arm-2009q3/bin/arm-none-linux-gnueabi-gcc
-DCMAKE_CXX_COMPILER=/usr/local/arm-2009q3...
2015 Mar 29
2
[LLVMdev] How to Cross Compile libcompiler_rt Static Library?
Hi,
I've cross-compiled musl-libc to arm binaries with clang. It needs
functions from static runtime library "libcompiler_rt.a". I tried to build
compile_rt outside the llvm source tree. Using command like "make
clang_linux", I can easily build "libcompiler_rt.a" for my host machine,
which is X86_64. But how can I *cross-compile* the compiler_rt runtime
2015 Mar 29
2
[LLVMdev] How to Cross Compile libcompiler_rt Static Library?
...LING=True
>>>
>>> As you can see, I'm using CMake. Works pretty well so far. Hopefully
>>> something like this will work for you as well?
>>>
>>
>> I tried "cmake ../compiler-rt -DCMAKE_C_COMPILER=clang
>> -DCMAKE_CXX_COMPILER=clang++ -DLLVM_NATIVE_ARCH=ARM
>> -DLLVM_TARGETS_TO_BUILD=ARM -DTARGET_TRIPLE=armv-none-linux-gnueabi
>> -DCMAKE_CROSSCOMPILING=True". It will still build X86_64 version.
>>
>> I also tried "cmake ../compiler-rt
>> -DCMAKE_C_COMPILER=/usr/local/arm-2009q3/bin/arm-none-linux-gnueabi-gc...