Displaying 2 results from an estimated 2 matches for "5cff628b".
2012 Sep 25
0
[LLVMdev] Can clang generate the same bitcode with the toolchains that have same version of libraries but different targets
...different.****
>
>
> http://llvm.org/docs/FAQ.html#can-i-compile-c-or-c-code-to-platform-independent-llvm-bitcode
> ****
>
> ** **
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120926/5cff628b/attachment.html>
2012 Sep 25
5
[LLVMdev] Can clang generate the same bitcode with the toolchains that have same version of libraries but different targets
Hi,
I'm using clang to build my project as follows:
$ clang++ -ccc-host-triple arm-none-linux-gnueabi
--sysroot=/usr/local/arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/ -o
foo.o -emit-llvm -c foo.cpp
$ clang++ -ccc-host-triple arm-none-linux-gnueabi
--sysroot=/usr/local/arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/ -o
main.o -emit-llvm -c main.cpp
$ llvm-link foo.o main.o -o