Displaying 4 results from an estimated 4 matches for "ccc_host_triple_arm".
2012 Dec 08
0
[LLVMdev] Compile code for arm
Ok, These are the three options you should be playing with:
-ccc-host-triple $(CCC_HOST_TRIPLE_ARM) \
--sysroot=$(SYSROOT_ARM) \
-gcc-toolchain $(GCC_TOOLCHAIN)
Where the (sic) host triple defines the "target" triple too.
Sysroot and gcc-toolchain is where you'll find the libraries and
binutils for the ARM targets (you'll need them, since LLVM still can't
cross-compile on...
2012 Dec 08
2
[LLVMdev] Compile code for arm
Thanks for your help. But I got this warning which it seems it doesn't use
-triple
"clang: warning: argument unused during compilation: '-triple
arm-none-eabi' "
Best Regards,
A. Yazdanbakhsh
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
PhD. Student
School of
2012 Dec 08
2
[LLVMdev] Compile code for arm
...lt;<<<<<<<<<<<<<<<<<<<<<<<<<<<<
On Sat, Dec 8, 2012 at 2:05 PM, Renato Golin <rengolin at systemcall.org>wrote:
> Ok, These are the three options you should be playing with:
>
> -ccc-host-triple $(CCC_HOST_TRIPLE_ARM) \
> --sysroot=$(SYSROOT_ARM) \
> -gcc-toolchain $(GCC_TOOLCHAIN)
>
> Where the (sic) host triple defines the "target" triple too.
>
> Sysroot and gcc-toolchain is where you'll find the libraries and
> binutils for the ARM targets (you'll need them, since LLVM...
2012 Nov 21
5
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Hi Journeyer J. Joh,
Thank you so much for the solution. It was very helpful. Now, I'm wondering
if you have tested compiling a whole project (with several .c/.cpp files)
and achieve one binary file. Previously (on X86), I built .bc files
separately and then I used llvm-link to get one .bc file and produce one
binary file for the whole project. But, this time I encountered some errors
like