[cfe-dev] How to change the linker of clang

Eric Lu eirc.lew at gmail.com
Thu Apr 16 08:31:21 PDT 2015


1) Build clang with GCC-4.9.2, when compling other application s with
clang/clang++, the default linker is ld, can I replace it with other linker
tool, if we can, how to do it?

I.E. can we use collect2 instead?

2) how to specify the lib path, such as crtend.o , when we do not use the
default vertion GCC?




Best Regards!
Eric Lew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150416/85c6f839/attachment.html>


More information about the cfe-dev mailing list