Displaying 6 results from an estimated 6 matches for "liangh".
Did you mean:
liang
2012 Nov 16
2
[LLVMdev] [compiler-rt] is the arm lib complete?
On Nov 15, 2012, at 9:33 PM, liangh at codeaurora.org wrote:
> I'm trying to link my objs with compiler-rt built runtime lib for arm.
> According to the compiler-rt doc, it should be able to replace libgcc.
> However, if I replace "-lgcc" with "compiler-rt.a" for a static linking,
> gcc linker comp...
2012 Nov 16
0
[LLVMdev] [compiler-rt] is the arm lib complete?
Hi,
I'm trying to link my objs with compiler-rt built runtime lib for arm.
According to the compiler-rt doc, it should be able to replace libgcc.
However, if I replace "-lgcc" with "compiler-rt.a" for a static linking,
gcc linker complains about undefined functions. Using "nm -g", I compared
the functions in libgcc and compiler-rt.full-arm.a and found there are
2012 Oct 28
4
[LLVMdev] How to disable or override libgcc when linking?
Hi,
I'm using compiler-rt to build the library to replace libgcc. How can I
disable -lgcc being added and passed to the linker?
When I use:
"clang -ccc-gcc-name arm-cross-g++ hello.c -Lmypath -lmylib -v"
-lgcc is always added:
"...gcc/arm-none-linux-gnueabi/4.6.1/collect2 ... /tmp/hello-Pj9QxO.o
-lgcc ..."
How can I disable or override libgcc from the command line?
2012 Nov 16
0
[LLVMdev] [compiler-rt] is the arm lib complete?
I'm using Clang, with arm-none-linux-gnueabi-g++ as a linker. Although
compiler-rt replaced libgcc, we still need other libs such as libc, libm,
etc. It seems libc is calling these missing functions.
>
> On Nov 15, 2012, at 9:33 PM, liangh at codeaurora.org wrote:
>> I'm trying to link my objs with compiler-rt built runtime lib for arm.
>> According to the compiler-rt doc, it should be able to replace libgcc.
>> However, if I replace "-lgcc" with "compiler-rt.a" for a static linking,
>>...
2012 Nov 16
0
[LLVMdev] [compiler-rt] is the arm lib complete?
So, you mean I should compile libc with clang and link with compiler-rt too?
But how can we expect a user of compiler-rt have a libc compiled in this
way? It's a part of gcc's src code... If compiler-rt is a complete lib, it
should also cover these functions, right?
BTW, if libc is compiled statically, shouldn't itself already contain all
functions it need? I just get confused now...
2012 Nov 16
0
[LLVMdev] [compiler-rt] is the arm lib complete?
Hi guys,
Thanks for all the info.
Then, if, besides compiler-rt, I also need some other libs, such as libm,
how do I link?
Here is an example of missing functions in compiler-rt when linking:
"-lstdc++ -lm --start-group -lcompiler-rt-armv7 -lgcc_eh -lc --end-group"
vs.
"-lstdc++ -lm --start-group -lgcc -lgcc_eh -lc --end-group"
...