Displaying 1 result from an estimated 1 matches for "pj9qxo".
2012 Oct 28
4
[LLVMdev] How to disable or override libgcc when linking?
...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?
Thanks.
-Liang