[LLVMdev] How to create shared library using llvm-ld
gausszhch at gmail.com
Wed Sep 23 03:36:43 PDT 2009
I am using llvm-gcc to compile some softwares, and compile them with
CFLAGS="-emit-llvm" to gernerate bitcode IR. Then I have to replace normal
ld with llvm-ld.
Unfortunately, llvm-ld doesn't support -shared option which is used to
create a shared library. I've also noticed that llvm-ld supports an option
'-link-as-library' which is used to generate static library file. It is
Thanks a lot.
View this message in context: http://www.nabble.com/How-to-create-shared-library-using-llvm-ld-tp25531078p25531078.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev