Displaying 3 results from an estimated 3 matches for "72fb6a1f".
2012 Sep 25
0
[LLVMdev] Can clang generate the same bitcode with the toolchains that have same version of libraries but different targets
Kenia Kuo <kenkillerkuo at gmail.com> writes:
[snip]
> Currently, I tried the toolchains of ARM and PowerPC that have the
> different versions of libraries, obviously the generated bitcode are
> different.
> So I wonder whether the version of library is the only reason why the
> generated bitcode are different.
2012 Sep 25
2
[LLVMdev] Can clang generate the same bitcode with the toolchains that have same version of libraries but different targets
...t; > generated bitcode are 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/20120925/72fb6a1f/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