Displaying 5 results from an estimated 5 matches for "armelf".
Did you mean:
armel
2012 Jun 19
2
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
...e:
/home/hum/Documents/Projects/llvm_clang/gnuarm-4.0.2/arm-elf/include
/usr/local/include
/home/hum/Documents/Projects/llvm_clang/build/Debug+Asserts/bin/../lib/clang/3.2/include
/usr/include
End of search list.
"/usr/bin/ld" -z relro -X --hash-style=gnu --build-id --eh-frame-hdr -m
armelf_linux_eabi -dynamic-linker /lib/ld-linux.so.3 -o a.out crt1.o crti.o
crtbegin.o
-L/home/hum/Documents/Projects/llvm_clang/gnuarm-4.0.2/arm-elf/bin
-L/usr/lib/../lib32 -L/lib -L/usr/lib -plugin
/home/hum/Documents/Projects/llvm_clang/build/Debug+Asserts/bin/../lib/LLVMgold.so
/tmp/hello-T8xLAt.o -lg...
2012 Jun 19
0
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
...abi
> -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
> Supported emulations: armelf
1. Your ld is too old
2. Your ld was built for arm-elf, not arm-linux-eabi
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2012 Jun 18
0
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
On Sat, Jun 16, 2012 at 08:20:23PM +0900, Journeyer J. Joh wrote:
> If the cross compiling is supported, is there any documentation on how to
> do it?
The short version is: assuming you have a cross-binutils installation
using e.g. x86_64--netbsd-as and x86_64--netbsd-ld, you add a symlink
called x86_64--netbsd-clang to clang and just call that with an
appropiate --sysroot to make it find
2012 Jun 16
4
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Hello list,
I wonder if llvm/Clang can compile C or C++ for ARM from on x86.
http://comments.gmane.org/gmane.comp.compilers.clang.devel/8896
The talk above answered 'NO' to my question, which means Clang is not yet
able to cross compile for ARM on X86.
Is the answer still correct for my question?
I saw somewhere that Clang supports ARM on Darwin only. Then is the cross
compiling
2012 Jun 20
3
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
...:
End of search list.
"/usr/bin/ld" <<<<<<<<<< Problem #1 : wrong linker! ld in cross toolchain
is needed!
--sysroot=/home/hum/Documents/Projects/arm_toolchain/arm-2010.09/arm-none-linux-gnueabi/libc
-z relro
-X
--hash-style=gnu
--build-id
--eh-frame-hdr
-m armelf_linux_eabi
-dynamic-linker /lib/ld-linux.so.3 <<<<<<<<<< Problem #2 : All libraries
have to be of the cross toolchain!
-o a.out
/home/hum/Documents/Projects/arm_toolchain/arm-2010.09/arm-none-linux-gnueabi/libc/usr/lib/crt1.o
/home/hum/Documents/Projects/arm_toolchain/...