[LLVMdev] llvm-ld file not recognized: File format not recognized

李永超 lyc364 at gmail.com
Thu Oct 10 06:05:14 PDT 2013


Hi,
When using llvm-ld to link .bc files(compiled with llvm-gcc with option
--emit-llvm), I went into error like: file not recognized: File format not
recognized.

I was confused because llvm-ld is the LLVM linker to link llvm bitcode
files together, then why this error occurred?

I am using llvm 2.9 and the corresponding binary version of llvm-gcc.

It will be appreciated if anyone of you can help.

Cheers,
Ben Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131010/8e22d75e/attachment.html>


More information about the llvm-dev mailing list