search for: lmypath

Displaying 1 result from an estimated 1 matches for "lmypath".

Did you mean: mypath
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? Thanks. -Liang