[LLVMdev] How to create shared library using llvm-ld
gauss
gausszhch at gmail.com
Wed Sep 23 03:36:43 PDT 2009
Hi, all.
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
helpless.
Any ideas?
Thanks a lot.
Gauss,
2009-09-23
--
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...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090923/f7a5a8e0/attachment.html>
More information about the llvm-dev
mailing list