using bitcode libs.

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

Sanjiv Gupta wrote:

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
_______________________________________________
LLVM Developers mailing list
LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
  

Found it here.
www.llvm.org/cmds/llvm-ld.html
:slight_smile:

Thanks.
- Sanjiv