[LLVMdev] using bitcode libs.

Sanjiv Gupta sanjiv.gupta at microchip.com
Sat Jul 11 12:26:00 PDT 2009


I want to keep the standard C libs in .bc format and link my programs 
.bc with them via llvm-ld to generate a linked .bc again.
I have created a std.lib using llvm-ld -link-as-library on all .bc files 
of std libs.

How to use -l and -L options of llvm-ld in that case? What are the other 
required options?
What are the naming conventions? libstd.a  ( for -l std)?

- Sanjiv



More information about the llvm-dev mailing list