Displaying 6 results from an estimated 6 matches for "llvm_clang".
2014 Jun 10
4
[LLVMdev] use of undeclared identifier '__NR_*' error while building clang
...1] (without the
--enable-optimized option), and everything built successfully.
[1] http://clang.llvm.org/get_started.html
====================
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib 'ubsan_osx' (ld
does not support it)
make[5]: Entering directory
`/home/sandeep/llvm_clang/llvm/projects/compiler-rt'
COMPILE: clang_linux/san-i386/i386:
/home/sandeep/llvm_clang/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc
/home/sandeep/llvm_clang/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:123:27:
error: use of undeclared identifier ...
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 19
2
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
...inaries for x86-64 from
http://www.gnuarm.com/
3. Wrote a hello.c as shown below.
#include <stdio.h>
int main(void)
{
printf("\nHello World!\n\n");
return 0;
}
4. Tested as shown below.
./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
5. Received an output and an error message shown below.
clang version 3.2 (trunk 158657)
Target: arm-none-linux-gnueabi
Thread model: posix
"/home/hum/Documents/Projects/llvm_clang/build/...
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 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
> Supported emulations: armel...
2012 Jun 20
3
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
...LLVM bitcode to the
ARM cross linker make sense?
Thank you very much.
Sincerely
Journeyer J. Joh
2012/6/19 Anton Korobeynikov <anton at korobeynikov.info>
> 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
>...