search for: arm_toolchain

Displaying 7 results from an estimated 7 matches for "arm_toolchain".

2012 Jun 20
3
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
...linker(ld) in the cross tool. Most important question is how I can make clang use cross tool linker. Let me show you my experiment and questions below. There are two questions. [Run] ./clang -v --save-temps -emit-llvm -ccc-host-triple arm-none-linux-gnueabi --sysroot=/home/hum/Documents/Projects/arm_toolchain/arm-2010.09/arm-none-linux-gnueabi/libc hello.c [Question] 1. How am I supposed to use --sysroot? Though I used "--sysroot" above, Clang uses native linker, "/usr/bin/ld" not the one in the tool chain, "/home/hum/Documents/Projects/arm_toolchain/arm-2010.09/bin/arm-none-li...
2012 Jun 19
0
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Hello > ./clang -v -emit-llvm -ccc-host-triple arm-none-linux-gnueabi > -I/home/hum/Documents/Projects/llvm_clang/gnuarm-4.0.2/arm-elf/include > -L/home/hum/Documents/Projects/llvm_clang/gnuarm-4.0.2/arm-elf/bin hello.c You forgot about sysroot here. > /home/hum/Documents/Projects/llvm_clang/gnuarm-4.0.2/arm-elf/bin/ld: > unrecognised emulation mode: armelf_linux_eabi >
2012 Jun 19
2
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Hello Gergö, Joerg and people on our list With your kind answer, I tried to build a hello world program for ARM(arm-none-linux-gnueabi) on my x86-64 PC. Thank you we verified the generated bitcode. The only thing remained is linking. Let me brief what I did so far. 1. Built Clang/llvm in a way explained in http://clang.llvm.org/get_started.html on Ubuntu 11.10 x86-64 PC 2. Downloaded gcc-4.0
2012 Jun 21
0
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Hi Joerg, Thank you very much! I finally found a working command string to cross-compile for ARM on x86. ./clang -v --save-temps -ccc-host-triple arm-none-linux-gnueabi --sysroot=/home/hum/Documents/Projects/arm_toolchain/arm-2010.09/arm-none-linux-gnueabi/libc -gcc-toolchain /home/hum/Documents/Projects/arm_toolchain/arm-2010.09 hello.c -o hello Above works fine! Important options are -ccc-host-triple arm-none-linux-gnueabi --sysroot=/home/hum/Documents/Projects/arm_toolchain/arm-2010.09/arm-none-linux-gnueabi/li...
2012 Jun 27
3
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Hello, With your kind concern and help, I now can make a binary for ARM target. ./clang -v --save-temps -ccc-host-triple arm-none-linux-gnueabi --sysroot=/home/hum/Documents/Projects/arm_toolchain/arm-2010.09/arm-none-linux-gnueabi/libc -gcc-toolchain /home/hum/Documents/Projects/arm_toolchain/arm-2010.09 hello.c -o hello The build command is shown above. After that, I prepared an ARM laptop, AC100 - TOSHIBA. I installed Ubuntu 12.04 in the way guided from the link below. https://wiki.ubu...
2012 Jun 27
0
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
On 06/27/12 07:24, Journeyer J. Joh wrote: > Hello, > > With your kind concern and help, I now can make a binary for ARM target. > > ./clang -v --save-temps -ccc-host-triple arm-none-linux-gnueabi > --sysroot=/home/hum/Documents/Projects/arm_toolchain/arm-2010.09/arm-none-linux-gnueabi/libc > -gcc-toolchain /home/hum/Documents/Projects/arm_toolchain/arm-2010.09 > hello.c -o hello > > The build command is shown above. > > After that, I prepared an ARM laptop, AC100 - TOSHIBA. > I installed Ubuntu 12.04 in the way guided from...
2012 Jun 28
3
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
...rg> > On 06/27/12 07:24, Journeyer J. Joh wrote: > >> Hello, >> >> With your kind concern and help, I now can make a binary for ARM target. >> >> ./clang -v --save-temps -ccc-host-triple arm-none-linux-gnueabi >> --sysroot=/home/hum/Documents/**Projects/arm_toolchain/arm-** >> 2010.09/arm-none-linux-**gnueabi/libc >> -gcc-toolchain /home/hum/Documents/Projects/**arm_toolchain/arm-2010.09 >> hello.c -o hello >> >> The build command is shown above. >> >> After that, I prepared an ARM laptop, AC100 - TOSHIBA. >> I in...